Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Openssl
提交
d7f0ab5f
T
Third Party Openssl
项目概览
OpenHarmony
/
Third Party Openssl
10 个月 前同步成功
通知
8
Star
18
Fork
1
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
Third Party Openssl
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
d7f0ab5f
编写于
2月 23, 2000
作者:
U
Ulf Möller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
New make target "report" to run util/selftest.pl
上级
49976df5
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
36 addition
and
55 deletion
+36
-55
Makefile.org
Makefile.org
+3
-0
README
README
+20
-53
util/selftest.pl
util/selftest.pl
+13
-2
未找到文件。
Makefile.org
浏览文件 @
d7f0ab5f
...
...
@@ -272,6 +272,9 @@ tests: rehash
$(MAKE)
CC
=
'
${CC}
'
CFLAG
=
'
${CFLAG}
'
INSTALLTOP
=
'
${INSTALLTOP}
'
PEX_LIBS
=
'
${PEX_LIBS}
'
EX_LIBS
=
'
${EX_LIBS}
'
BN_ASM
=
'
${BN_ASM}
'
DES_ENC
=
'
${DES_ENC}
'
BF_ENC
=
'
${BF_ENC}
'
CAST_ENC
=
'
${CAST_ENC}
'
RC4_ENC
=
'
${RC4_ENC}
'
RC5_ENC
=
'
${RC5_ENC}
'
SDIRS
=
'
${SDIRS}
'
SHA1_ASM_OBJ
=
'
${SHA1_ASM_OBJ}
'
MD5_ASM_OBJ
=
'
${MD5_ASM_OBJ}
'
RMD160_ASM_OBJ
=
'
${RMD160_ASM_OBJ}
'
AR
=
'
${AR}
'
tests
)
;
@
apps/openssl version
-a
report
:
@
$(PERL)
util/selftest.pl
depend
:
@
for
i
in
$(DIRS)
;
\
do
\
...
...
README
浏览文件 @
d7f0ab5f
...
...
@@ -80,40 +80,14 @@
A Configuration loader that uses a format similar to MS .ini files.
openssl:
A command line tool which provides the following functions:
enc - a general encryption program that can encrypt/decrypt using
one of 17 different cipher/mode combinations. The
input/output can also be converted to/from base64
ascii encoding.
dgst - a generate message digesting program that will generate
message digests for any of md2, md5, sha (sha-0 or sha-1)
or mdc2.
asn1parse - parse and display the structure of an asn1 encoded
binary file.
rsa - Manipulate RSA private keys.
dsa - Manipulate DSA private keys.
dh - Manipulate Diffie-Hellman parameter files.
dsaparam- Manipulate and generate DSA parameter files.
crl - Manipulate certificate revocation lists.
crt2pkcs7- Generate a pkcs7 object containing a crl and a certificate.
x509 - Manipulate x509 certificates, self-sign certificates.
req - Manipulate PKCS#10 certificate requests and also
generate certificate requests.
genrsa - Generates an arbitrary sized RSA private key.
gendsa - Generates DSA parameters.
gendh - Generates a set of Diffie-Hellman parameters, the prime
will be a strong prime.
ca - Create certificates from PKCS#10 certificate requests.
This program also maintains a database of certificates
issued.
verify - Check x509 certificate signatures.
speed - Benchmark OpenSSL's ciphers.
s_server- A test SSL server.
s_client- A test SSL client.
s_time - Benchmark SSL performance of SSL server programs.
errstr - Convert from OpenSSL hex error codes to a readable form.
nseq - Netscape certificate sequence utility
A command line tool that can be used for:
Creation of RSA, DH and DSA key parameters
Creation of X.509 certificates, CSRs and CRLs
Calculation of Message Digests
Encryption and Decryption with Ciphers
SSL/TLS Client and Server Tests
Handling of S/MIME signed or encrypted mail
PATENTS
-------
...
...
@@ -157,30 +131,23 @@
If you have any problems with OpenSSL then please take the following steps
first:
- Download the current snapshot from ftp://ftp.openssl.org/snapshot/
to see if the problem has already been addressed
- Remove ASM versions of libraries
- Remove compiler optimisation flags
- Add compiler debug flags (if using gcc then remove -fomit-frame-pointer
before you try to debug things)
If you wish to report a bug then please include the following information in
any bug report:
OpenSSL Details
- Version, most of these details can be got from the
'openssl version -a' command.
Operating System Details
- On Unix systems: Output of './config -t'
- OS Name, Version
- Hardware platform
Compiler Details
- Name
- Version
Application Details
- Name
- Version
Problem Description
- include steps that will reproduce the problem (if known)
Stack Traceback (if the application dumps core)
- On Unix systems:
Self-test report generated by 'make report'
- On other systems:
OpenSSL version: output of 'openssl version -a'
OS Name, Version, Hardware platform
Compiler Details (name, version)
- Application Details (name, version)
- Problem Description (steps that will reproduce the problem, if known)
- Stack Traceback (if the application dumps core)
Report the bug to the OpenSSL project at:
...
...
@@ -188,7 +155,7 @@
Note that mail to openssl-bugs@openssl.org is forwarded to a public
mailing list. Confidential mail may be sent to openssl-security@openssl.org
(PGP key available from the key servers
.)
(PGP key available from the key servers
).
HOW TO CONTRIBUTE TO OpenSSL
----------------------------
...
...
util/selftest.pl
浏览文件 @
d7f0ab5f
...
...
@@ -17,6 +17,7 @@ my $options="??";
my
$last
=
"
??
";
my
$ok
=
0
;
my
$cc
=
"
cc
";
my
$cversion
=
"
??
";
my
$sep
=
"
-----------------------------------------------------------------------------
\n
";
open
(
OUT
,"
>
$report
")
or
die
;
...
...
@@ -38,13 +39,19 @@ if (open(IN,"<Makefile.ssl")) {
$version
=
$
1
if
(
/^VERSION=(.*)$/
);
$platform
=
$
1
if
(
/^PLATFORM=(.*)$/
);
$options
=
$
1
if
(
/^OPTIONS=(.*)$/
);
$cc
=
$
1
if
(
/^CC=(.*)$/
);
$cc
=
$
1
if
(
/^CC=
*
(.*)$/
);
}
close
(
IN
);
}
else
{
print
OUT
"
Error running config
: no Makefile.ssl
!
\n
";
print
OUT
"
Error running config!
\n
";
}
$cversion
=
`
$cc
-v 2>&1
`;
$cversion
=
`
$cc
-V 2>&1
`
if
$cversion
=~
"
usage
";
$cversion
=~
s/Reading specs.*\n//
;
$cversion
=~
s/usage.*\n//
;
chomp
$cversion
;
if
(
open
(
IN
,"
<CHANGES
"))
{
while
(
<
IN
>
)
{
if
(
/\*\) (.{0,55})/
)
{
...
...
@@ -61,8 +68,11 @@ print OUT "OS (uname): $uname";
print
OUT
"
OS (config):
$os
\n
";
print
OUT
"
Target (default):
$platform0
\n
";
print
OUT
"
Target:
$platform
\n
";
print
OUT
"
Compiler:
$cversion
\n
";
print
OUT
"
\n
";
goto
err
;
print
"
Checking compiler...
\n
";
if
(
open
(
TEST
,"
>test.c
"))
{
print
TEST
"
#include <stdio.h>
\n
main(){printf(
\"
Hello world
\\
n
\"
);}
\n
";
...
...
@@ -149,3 +159,4 @@ while (<IN>) {
print
;
}
print
"
Test report in file
$report
\n
";
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录