Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Openssl
提交
288370ea
T
Third Party Openssl
项目概览
OpenHarmony
/
Third Party Openssl
1 年多 前同步成功
通知
10
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看板
提交
288370ea
编写于
1月 02, 1999
作者:
B
Ben Laurie
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Fix tests for ssleay -> openssl.
上级
2ec077d8
变更
12
隐藏空白更改
内联
并排
Showing
12 changed file
with
16 addition
and
16 deletion
+16
-16
test/Makefile.ssl
test/Makefile.ssl
+1
-1
test/tcrl
test/tcrl
+1
-1
test/testca
test/testca
+1
-1
test/testenc
test/testenc
+1
-1
test/testgen
test/testgen
+2
-2
test/testss
test/testss
+3
-3
test/tpkcs7
test/tpkcs7
+1
-1
test/tpkcs7d
test/tpkcs7d
+2
-2
test/treq
test/treq
+1
-1
test/trsa
test/trsa
+1
-1
test/tsid
test/tsid
+1
-1
test/tx509
test/tx509
+1
-1
未找到文件。
test/Makefile.ssl
浏览文件 @
288370ea
...
@@ -183,7 +183,7 @@ if (((NR+1)%64) == 0) print NR+1," tests done"; }'
...
@@ -183,7 +183,7 @@ if (((NR+1)%64) == 0) print NR+1," tests done"; }'
test_verify
:
test_verify
:
@
echo
"The following command should have some OK's and some failures"
@
echo
"The following command should have some OK's and some failures"
@
echo
"There are definitly a few expired certificates"
@
echo
"There are definitly a few expired certificates"
../apps/
ssleay
verify
-CApath
../certs ../certs/
*
.pem
../apps/
openssl
verify
-CApath
../certs ../certs/
*
.pem
test_dh
:
test_dh
:
@
echo
"Generate as set of DH parameters"
@
echo
"Generate as set of DH parameters"
...
...
test/tcrl
浏览文件 @
288370ea
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
PATH
=
../apps:
$PATH
PATH
=
../apps:
$PATH
export
PATH
export
PATH
cmd
=
'../apps/
ssleay
crl'
cmd
=
'../apps/
openssl
crl'
if
[
"
$1
"
x
!=
"x"
]
;
then
if
[
"
$1
"
x
!=
"x"
]
;
then
t
=
$1
t
=
$1
...
...
test/testca
浏览文件 @
288370ea
...
@@ -23,7 +23,7 @@ if [ $? != 0 ]; then
...
@@ -23,7 +23,7 @@ if [ $? != 0 ]; then
fi
fi
SSLEAY_CONFIG
=
"-config ../apps/
ssleay
.cnf"
SSLEAY_CONFIG
=
"-config ../apps/
openssl
.cnf"
export
SSLEAY_CONFIG
export
SSLEAY_CONFIG
$SH
../apps/CA.sh
-sign
<<
EOF
$SH
../apps/CA.sh
-sign
<<
EOF
y
y
...
...
test/testenc
浏览文件 @
288370ea
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
testsrc
=
Makefile.ssl
testsrc
=
Makefile.ssl
test
=
./p
test
=
./p
cmd
=
../apps/
ssleay
cmd
=
../apps/
openssl
cat
$testsrc
>
$test
;
cat
$testsrc
>
$test
;
...
...
test/testgen
浏览文件 @
288370ea
...
@@ -15,13 +15,13 @@ echo "There should be a 2 sequences of .'s and some +'s."
...
@@ -15,13 +15,13 @@ echo "There should be a 2 sequences of .'s and some +'s."
echo
"There should not be more that at most 80 per line"
echo
"There should not be more that at most 80 per line"
echo
"This could take some time."
echo
"This could take some time."
../apps/
ssleay
req
-config
test.cnf
-new
-out
testreq.pem
../apps/
openssl
req
-config
test.cnf
-new
-out
testreq.pem
if
[
$?
!=
0
]
;
then
if
[
$?
!=
0
]
;
then
echo
problems creating request
echo
problems creating request
exit
1
exit
1
fi
fi
../apps/
ssleay
req
-verify
-in
testreq.pem
-noout
../apps/
openssl
req
-verify
-in
testreq.pem
-noout
if
[
$?
!=
0
]
;
then
if
[
$?
!=
0
]
;
then
echo
signature on req is wrong
echo
signature on req is wrong
exit
1
exit
1
...
...
test/testss
浏览文件 @
288370ea
#!/bin/sh
#!/bin/sh
digest
=
'-mdc2'
digest
=
'-mdc2'
reqcmd
=
"../apps/
ssleay
req"
reqcmd
=
"../apps/
openssl
req"
x509cmd
=
"../apps/
ssleay
x509
$digest
"
x509cmd
=
"../apps/
openssl
x509
$digest
"
verifycmd
=
"../apps/
ssleay
verify"
verifycmd
=
"../apps/
openssl
verify"
CAkey
=
"keyCA.ss"
CAkey
=
"keyCA.ss"
CAcert
=
"certCA.ss"
CAcert
=
"certCA.ss"
...
...
test/tpkcs7
浏览文件 @
288370ea
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
PATH
=
../apps:
$PATH
PATH
=
../apps:
$PATH
export
PATH
export
PATH
cmd
=
'../apps/
ssleay
pkcs7'
cmd
=
'../apps/
openssl
pkcs7'
if
[
"
$1
"
x
!=
"x"
]
;
then
if
[
"
$1
"
x
!=
"x"
]
;
then
t
=
$1
t
=
$1
...
...
test/tpkcs7d
浏览文件 @
288370ea
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
PATH
=
../apps:
$PATH
PATH
=
../apps:
$PATH
export
PATH
export
PATH
cmd
=
'../apps/
ssleay
pkcs7'
cmd
=
'../apps/
openssl
pkcs7'
if
[
"
$1
"
x
!=
"x"
]
;
then
if
[
"
$1
"
x
!=
"x"
]
;
then
t
=
$1
t
=
$1
...
@@ -11,7 +11,7 @@ else
...
@@ -11,7 +11,7 @@ else
t
=
pkcs7-1.pem
t
=
pkcs7-1.pem
fi
fi
echo
testing pkcs7 conversions
echo
"testing pkcs7 conversions (2)"
cp
$t
fff.p
cp
$t
fff.p
echo
"p -> d"
echo
"p -> d"
...
...
test/treq
浏览文件 @
288370ea
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
PATH
=
../apps:
$PATH
PATH
=
../apps:
$PATH
export
PATH
export
PATH
cmd
=
'../apps/
ssleay
req'
cmd
=
'../apps/
openssl
req'
if
[
"
$1
"
x
!=
"x"
]
;
then
if
[
"
$1
"
x
!=
"x"
]
;
then
t
=
$1
t
=
$1
...
...
test/trsa
浏览文件 @
288370ea
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
PATH
=
../apps:
$PATH
PATH
=
../apps:
$PATH
export
PATH
export
PATH
cmd
=
'../apps/
ssleay
rsa'
cmd
=
'../apps/
openssl
rsa'
if
[
"
$1
"
x
!=
"x"
]
;
then
if
[
"
$1
"
x
!=
"x"
]
;
then
t
=
$1
t
=
$1
...
...
test/tsid
浏览文件 @
288370ea
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
PATH
=
../apps:
$PATH
PATH
=
../apps:
$PATH
export
PATH
export
PATH
cmd
=
'../apps/
ssleay
sess_id'
cmd
=
'../apps/
openssl
sess_id'
if
[
"
$1
"
x
!=
"x"
]
;
then
if
[
"
$1
"
x
!=
"x"
]
;
then
t
=
$1
t
=
$1
...
...
test/tx509
浏览文件 @
288370ea
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
PATH
=
../apps:
$PATH
PATH
=
../apps:
$PATH
export
PATH
export
PATH
cmd
=
'../apps/
ssleay
x509'
cmd
=
'../apps/
openssl
x509'
if
[
"
$1
"
x
!=
"x"
]
;
then
if
[
"
$1
"
x
!=
"x"
]
;
then
t
=
$1
t
=
$1
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录