Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Openssl
提交
3426b8ed
T
Third Party Openssl
项目概览
OpenHarmony
/
Third Party Openssl
1 年多 前同步成功
通知
9
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看板
提交
3426b8ed
编写于
4月 03, 2013
作者:
B
Ben Laurie
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Avoid collisions.
上级
f5cd3db5
变更
7
显示空白变更内容
内联
并排
Showing
7 changed file
with
143 addition
and
143 deletion
+143
-143
test/tcrl
test/tcrl
+24
-24
test/tpkcs7
test/tpkcs7
+13
-13
test/tpkcs7d
test/tpkcs7d
+10
-10
test/treq
test/treq
+24
-24
test/trsa
test/trsa
+24
-24
test/tsid
test/tsid
+24
-24
test/tx509
test/tx509
+24
-24
未找到文件。
test/tcrl
浏览文件 @
3426b8ed
...
@@ -9,70 +9,70 @@ else
...
@@ -9,70 +9,70 @@ else
fi
fi
echo
testing crl conversions
echo
testing crl conversions
cp
$t
fff.p
cp
$t
crl-
fff.p
echo
"p -> d"
echo
"p -> d"
$cmd
-in
fff.p
-inform
p
-outform
d
>
f.d
$cmd
-in
crl-fff.p
-inform
p
-outform
d
>
crl-
f.d
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
#echo "p -> t"
#echo "p -> t"
#$cmd -in
fff.p -inform p -outform t >
f.t
#$cmd -in
crl-fff.p -inform p -outform t >crl-
f.t
#if [ $? != 0 ]; then exit 1; fi
#if [ $? != 0 ]; then exit 1; fi
echo
"p -> p"
echo
"p -> p"
$cmd
-in
fff.p
-inform
p
-outform
p
>
f.p
$cmd
-in
crl-fff.p
-inform
p
-outform
p
>
crl-
f.p
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
echo
"d -> d"
echo
"d -> d"
$cmd
-in
f.d
-inform
d
-outform
d
>
ff.d1
$cmd
-in
crl-f.d
-inform
d
-outform
d
>
crl-
ff.d1
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
#echo "t -> d"
#echo "t -> d"
#$cmd -in
f.t -inform t -outform d >
ff.d2
#$cmd -in
crl-f.t -inform t -outform d >crl-
ff.d2
#if [ $? != 0 ]; then exit 1; fi
#if [ $? != 0 ]; then exit 1; fi
echo
"p -> d"
echo
"p -> d"
$cmd
-in
f.p
-inform
p
-outform
d
>
ff.d3
$cmd
-in
crl-f.p
-inform
p
-outform
d
>
crl-
ff.d3
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
#echo "d -> t"
#echo "d -> t"
#$cmd -in
f.d -inform d -outform t >
ff.t1
#$cmd -in
crl-f.d -inform d -outform t >crl-
ff.t1
#if [ $? != 0 ]; then exit 1; fi
#if [ $? != 0 ]; then exit 1; fi
#echo "t -> t"
#echo "t -> t"
#$cmd -in
f.t -inform t -outform t >
ff.t2
#$cmd -in
crl-f.t -inform t -outform t >crl-
ff.t2
#if [ $? != 0 ]; then exit 1; fi
#if [ $? != 0 ]; then exit 1; fi
#echo "p -> t"
#echo "p -> t"
#$cmd -in
f.p -inform p -outform t >
ff.t3
#$cmd -in
crl-f.p -inform p -outform t >crl-
ff.t3
#if [ $? != 0 ]; then exit 1; fi
#if [ $? != 0 ]; then exit 1; fi
echo
"d -> p"
echo
"d -> p"
$cmd
-in
f.d
-inform
d
-outform
p
>
ff.p1
$cmd
-in
crl-f.d
-inform
d
-outform
p
>
crl-
ff.p1
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
#echo "t -> p"
#echo "t -> p"
#$cmd -in
f.t -inform t -outform p >
ff.p2
#$cmd -in
crl-f.t -inform t -outform p >crl-
ff.p2
#if [ $? != 0 ]; then exit 1; fi
#if [ $? != 0 ]; then exit 1; fi
echo
"p -> p"
echo
"p -> p"
$cmd
-in
f.p
-inform
p
-outform
p
>
ff.p3
$cmd
-in
crl-f.p
-inform
p
-outform
p
>
crl-
ff.p3
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
cmp
fff.p
f.p
cmp
crl-fff.p crl-
f.p
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
cmp
fff.p
ff.p1
cmp
crl-fff.p crl-
ff.p1
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
#cmp
fff.p
ff.p2
#cmp
crl-fff.p crl-
ff.p2
#if [ $? != 0 ]; then exit 1; fi
#if [ $? != 0 ]; then exit 1; fi
cmp
fff.p
ff.p3
cmp
crl-fff.p crl-
ff.p3
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
#cmp
f.t
ff.t1
#cmp
crl-f.t crl-
ff.t1
#if [ $? != 0 ]; then exit 1; fi
#if [ $? != 0 ]; then exit 1; fi
#cmp
f.t
ff.t2
#cmp
crl-f.t crl-
ff.t2
#if [ $? != 0 ]; then exit 1; fi
#if [ $? != 0 ]; then exit 1; fi
#cmp
f.t
ff.t3
#cmp
crl-f.t crl-
ff.t3
#if [ $? != 0 ]; then exit 1; fi
#if [ $? != 0 ]; then exit 1; fi
cmp
f.p
ff.p1
cmp
crl-f.p crl-
ff.p1
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
#cmp
f.p
ff.p2
#cmp
crl-f.p crl-
ff.p2
#if [ $? != 0 ]; then exit 1; fi
#if [ $? != 0 ]; then exit 1; fi
cmp
f.p
ff.p3
cmp
crl-f.p crl-
ff.p3
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
/bin/rm
-f
f.
*
ff.
*
fff.
*
/bin/rm
-f
crl-f.
*
crl-ff.
*
crl-
fff.
*
exit
0
exit
0
test/tpkcs7
浏览文件 @
3426b8ed
...
@@ -9,40 +9,40 @@ else
...
@@ -9,40 +9,40 @@ else
fi
fi
echo
testing pkcs7 conversions
echo
testing pkcs7 conversions
cp
$t
fff.p
cp
$t
p7-
fff.p
echo
"p -> d"
echo
"p -> d"
$cmd
-in
fff.p
-inform
p
-outform
d
>
f.d
$cmd
-in
p7-fff.p
-inform
p
-outform
d
>
p7-
f.d
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
echo
"p -> p"
echo
"p -> p"
$cmd
-in
fff.p
-inform
p
-outform
p
>
f.p
$cmd
-in
p7-fff.p
-inform
p
-outform
p
>
p7-
f.p
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
echo
"d -> d"
echo
"d -> d"
$cmd
-in
f.d
-inform
d
-outform
d
>
ff.d1
$cmd
-in
p7-f.d
-inform
d
-outform
d
>
p7-
ff.d1
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
echo
"p -> d"
echo
"p -> d"
$cmd
-in
f.p
-inform
p
-outform
d
>
ff.d3
$cmd
-in
p7-f.p
-inform
p
-outform
d
>
p7-
ff.d3
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
echo
"d -> p"
echo
"d -> p"
$cmd
-in
f.d
-inform
d
-outform
p
>
ff.p1
$cmd
-in
p7-f.d
-inform
d
-outform
p
>
p7-
ff.p1
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
echo
"p -> p"
echo
"p -> p"
$cmd
-in
f.p
-inform
p
-outform
p
>
ff.p3
$cmd
-in
p7-f.p
-inform
p
-outform
p
>
p7-
ff.p3
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
cmp
fff.p
f.p
cmp
p7-fff.p p7-
f.p
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
cmp
fff.p
ff.p1
cmp
p7-fff.p p7-
ff.p1
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
cmp
fff.p
ff.p3
cmp
p7-fff.p p7-
ff.p3
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
cmp
f.p
ff.p1
cmp
p7-f.p p7-
ff.p1
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
cmp
f.p
ff.p3
cmp
p7-f.p p7-
ff.p3
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
/bin/rm
-f
f.
*
ff.
*
fff.
*
/bin/rm
-f
p7-f.
*
p7-ff.
*
p7-
fff.
*
exit
0
exit
0
test/tpkcs7d
浏览文件 @
3426b8ed
...
@@ -9,33 +9,33 @@ else
...
@@ -9,33 +9,33 @@ else
fi
fi
echo
"testing pkcs7 conversions (2)"
echo
"testing pkcs7 conversions (2)"
cp
$t
fff.p
cp
$t
p7d-
fff.p
echo
"p -> d"
echo
"p -> d"
$cmd
-in
fff.p
-inform
p
-outform
d
>
f.d
$cmd
-in
p7d-fff.p
-inform
p
-outform
d
>
p7d-
f.d
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
echo
"p -> p"
echo
"p -> p"
$cmd
-in
fff.p
-inform
p
-outform
p
>
f.p
$cmd
-in
p7d-fff.p
-inform
p
-outform
p
>
p7d-
f.p
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
echo
"d -> d"
echo
"d -> d"
$cmd
-in
f.d
-inform
d
-outform
d
>
ff.d1
$cmd
-in
p7d-f.d
-inform
d
-outform
d
>
p7d-
ff.d1
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
echo
"p -> d"
echo
"p -> d"
$cmd
-in
f.p
-inform
p
-outform
d
>
ff.d3
$cmd
-in
p7d-f.p
-inform
p
-outform
d
>
p7d-
ff.d3
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
echo
"d -> p"
echo
"d -> p"
$cmd
-in
f.d
-inform
d
-outform
p
>
ff.p1
$cmd
-in
p7d-f.d
-inform
d
-outform
p
>
p7d-
ff.p1
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
echo
"p -> p"
echo
"p -> p"
$cmd
-in
f.p
-inform
p
-outform
p
>
ff.p3
$cmd
-in
p7d-f.p
-inform
p
-outform
p
>
p7d-
ff.p3
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
cmp
f.p
ff.p1
cmp
p7d-f.p p7d-
ff.p1
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
cmp
f.p
ff.p3
cmp
p7d-f.p p7d-
ff.p3
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
/bin/rm
-f
f.
*
ff.
*
fff.
*
/bin/rm
-f
p7d-f.
*
p7d-ff.
*
p7d-
fff.
*
exit
0
exit
0
test/treq
浏览文件 @
3426b8ed
...
@@ -14,70 +14,70 @@ if $cmd -in $t -inform p -noout -text 2>&1 | fgrep -i 'Unknown Public Key'; then
...
@@ -14,70 +14,70 @@ if $cmd -in $t -inform p -noout -text 2>&1 | fgrep -i 'Unknown Public Key'; then
fi
fi
echo
testing req conversions
echo
testing req conversions
cp
$t
fff.p
cp
$t
req-
fff.p
echo
"p -> d"
echo
"p -> d"
$cmd
-in
fff.p
-inform
p
-outform
d
>
f.d
$cmd
-in
req-fff.p
-inform
p
-outform
d
>
req-
f.d
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
#echo "p -> t"
#echo "p -> t"
#$cmd -in
fff.p -inform p -outform t >
f.t
#$cmd -in
req-fff.p -inform p -outform t >req-
f.t
#if [ $? != 0 ]; then exit 1; fi
#if [ $? != 0 ]; then exit 1; fi
echo
"p -> p"
echo
"p -> p"
$cmd
-in
fff.p
-inform
p
-outform
p
>
f.p
$cmd
-in
req-fff.p
-inform
p
-outform
p
>
req-
f.p
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
echo
"d -> d"
echo
"d -> d"
$cmd
-verify
-in
f.d
-inform
d
-outform
d
>
ff.d1
$cmd
-verify
-in
req-f.d
-inform
d
-outform
d
>
req-
ff.d1
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
#echo "t -> d"
#echo "t -> d"
#$cmd -in
f.t -inform t -outform d >
ff.d2
#$cmd -in
req-f.t -inform t -outform d >req-
ff.d2
#if [ $? != 0 ]; then exit 1; fi
#if [ $? != 0 ]; then exit 1; fi
echo
"p -> d"
echo
"p -> d"
$cmd
-verify
-in
f.p
-inform
p
-outform
d
>
ff.d3
$cmd
-verify
-in
req-f.p
-inform
p
-outform
d
>
req-
ff.d3
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
#echo "d -> t"
#echo "d -> t"
#$cmd -in
f.d -inform d -outform t >
ff.t1
#$cmd -in
req-f.d -inform d -outform t >req-
ff.t1
#if [ $? != 0 ]; then exit 1; fi
#if [ $? != 0 ]; then exit 1; fi
#echo "t -> t"
#echo "t -> t"
#$cmd -in
f.t -inform t -outform t >
ff.t2
#$cmd -in
req-f.t -inform t -outform t >req-
ff.t2
#if [ $? != 0 ]; then exit 1; fi
#if [ $? != 0 ]; then exit 1; fi
#echo "p -> t"
#echo "p -> t"
#$cmd -in
f.p -inform p -outform t >
ff.t3
#$cmd -in
req-f.p -inform p -outform t >req-
ff.t3
#if [ $? != 0 ]; then exit 1; fi
#if [ $? != 0 ]; then exit 1; fi
echo
"d -> p"
echo
"d -> p"
$cmd
-in
f.d
-inform
d
-outform
p
>
ff.p1
$cmd
-in
req-f.d
-inform
d
-outform
p
>
req-
ff.p1
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
#echo "t -> p"
#echo "t -> p"
#$cmd -in
f.t -inform t -outform p >
ff.p2
#$cmd -in
req-f.t -inform t -outform p >req-
ff.p2
#if [ $? != 0 ]; then exit 1; fi
#if [ $? != 0 ]; then exit 1; fi
echo
"p -> p"
echo
"p -> p"
$cmd
-in
f.p
-inform
p
-outform
p
>
ff.p3
$cmd
-in
req-f.p
-inform
p
-outform
p
>
req-
ff.p3
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
cmp
fff.p
f.p
cmp
req-fff.p req-
f.p
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
cmp
fff.p
ff.p1
cmp
req-fff.p req-
ff.p1
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
#cmp
fff.p
ff.p2
#cmp
req-fff.p req-
ff.p2
#if [ $? != 0 ]; then exit 1; fi
#if [ $? != 0 ]; then exit 1; fi
cmp
fff.p
ff.p3
cmp
req-fff.p req-
ff.p3
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
#cmp
f.t
ff.t1
#cmp
req-f.t req-
ff.t1
#if [ $? != 0 ]; then exit 1; fi
#if [ $? != 0 ]; then exit 1; fi
#cmp
f.t
ff.t2
#cmp
req-f.t req-
ff.t2
#if [ $? != 0 ]; then exit 1; fi
#if [ $? != 0 ]; then exit 1; fi
#cmp
f.t
ff.t3
#cmp
req-f.t req-
ff.t3
#if [ $? != 0 ]; then exit 1; fi
#if [ $? != 0 ]; then exit 1; fi
cmp
f.p
ff.p1
cmp
req-f.p req-
ff.p1
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
#cmp
f.p
ff.p2
#cmp
req-f.p req-
ff.p2
#if [ $? != 0 ]; then exit 1; fi
#if [ $? != 0 ]; then exit 1; fi
cmp
f.p
ff.p3
cmp
req-f.p req-
ff.p3
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
/bin/rm
-f
f.
*
ff.
*
fff.
*
/bin/rm
-f
req-f.
*
req-ff.
*
req-
fff.
*
exit
0
exit
0
test/trsa
浏览文件 @
3426b8ed
...
@@ -14,70 +14,70 @@ else
...
@@ -14,70 +14,70 @@ else
fi
fi
echo
testing rsa conversions
echo
testing rsa conversions
cp
$t
fff.p
cp
$t
rsa-
fff.p
echo
"p -> d"
echo
"p -> d"
$cmd
-in
fff.p
-inform
p
-outform
d
>
f.d
$cmd
-in
rsa-fff.p
-inform
p
-outform
d
>
rsa-
f.d
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
#echo "p -> t"
#echo "p -> t"
#$cmd -in
fff.p -inform p -outform t >
f.t
#$cmd -in
rsa-fff.p -inform p -outform t >rsa-
f.t
#if [ $? != 0 ]; then exit 1; fi
#if [ $? != 0 ]; then exit 1; fi
echo
"p -> p"
echo
"p -> p"
$cmd
-in
fff.p
-inform
p
-outform
p
>
f.p
$cmd
-in
rsa-fff.p
-inform
p
-outform
p
>
rsa-
f.p
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
echo
"d -> d"
echo
"d -> d"
$cmd
-in
f.d
-inform
d
-outform
d
>
ff.d1
$cmd
-in
rsa-f.d
-inform
d
-outform
d
>
rsa-
ff.d1
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
#echo "t -> d"
#echo "t -> d"
#$cmd -in
f.t -inform t -outform d >
ff.d2
#$cmd -in
rsa-f.t -inform t -outform d >rsa-
ff.d2
#if [ $? != 0 ]; then exit 1; fi
#if [ $? != 0 ]; then exit 1; fi
echo
"p -> d"
echo
"p -> d"
$cmd
-in
f.p
-inform
p
-outform
d
>
ff.d3
$cmd
-in
rsa-f.p
-inform
p
-outform
d
>
rsa-
ff.d3
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
#echo "d -> t"
#echo "d -> t"
#$cmd -in
f.d -inform d -outform t >
ff.t1
#$cmd -in
rsa-f.d -inform d -outform t >rsa-
ff.t1
#if [ $? != 0 ]; then exit 1; fi
#if [ $? != 0 ]; then exit 1; fi
#echo "t -> t"
#echo "t -> t"
#$cmd -in
f.t -inform t -outform t >
ff.t2
#$cmd -in
rsa-f.t -inform t -outform t >rsa-
ff.t2
#if [ $? != 0 ]; then exit 1; fi
#if [ $? != 0 ]; then exit 1; fi
#echo "p -> t"
#echo "p -> t"
#$cmd -in
f.p -inform p -outform t >
ff.t3
#$cmd -in
rsa-f.p -inform p -outform t >rsa-
ff.t3
#if [ $? != 0 ]; then exit 1; fi
#if [ $? != 0 ]; then exit 1; fi
echo
"d -> p"
echo
"d -> p"
$cmd
-in
f.d
-inform
d
-outform
p
>
ff.p1
$cmd
-in
rsa-f.d
-inform
d
-outform
p
>
rsa-
ff.p1
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
#echo "t -> p"
#echo "t -> p"
#$cmd -in
f.t -inform t -outform p >
ff.p2
#$cmd -in
rsa-f.t -inform t -outform p >rsa-
ff.p2
#if [ $? != 0 ]; then exit 1; fi
#if [ $? != 0 ]; then exit 1; fi
echo
"p -> p"
echo
"p -> p"
$cmd
-in
f.p
-inform
p
-outform
p
>
ff.p3
$cmd
-in
rsa-f.p
-inform
p
-outform
p
>
rsa-
ff.p3
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
cmp
fff.p
f.p
cmp
rsa-fff.p rsa-
f.p
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
cmp
fff.p
ff.p1
cmp
rsa-fff.p rsa-
ff.p1
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
#cmp
fff.p
ff.p2
#cmp
rsa-fff.p rsa-
ff.p2
#if [ $? != 0 ]; then exit 1; fi
#if [ $? != 0 ]; then exit 1; fi
cmp
fff.p
ff.p3
cmp
rsa-fff.p rsa-
ff.p3
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
#cmp
f.t
ff.t1
#cmp
rsa-f.t rsa-
ff.t1
#if [ $? != 0 ]; then exit 1; fi
#if [ $? != 0 ]; then exit 1; fi
#cmp
f.t
ff.t2
#cmp
rsa-f.t rsa-
ff.t2
#if [ $? != 0 ]; then exit 1; fi
#if [ $? != 0 ]; then exit 1; fi
#cmp
f.t
ff.t3
#cmp
rsa-f.t rsa-
ff.t3
#if [ $? != 0 ]; then exit 1; fi
#if [ $? != 0 ]; then exit 1; fi
cmp
f.p
ff.p1
cmp
rsa-f.p rsa-
ff.p1
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
#cmp
f.p
ff.p2
#cmp
rsa-f.p rsa-
ff.p2
#if [ $? != 0 ]; then exit 1; fi
#if [ $? != 0 ]; then exit 1; fi
cmp
f.p
ff.p3
cmp
rsa-f.p rsa-
ff.p3
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
/bin/rm
-f
f.
*
ff.
*
fff.
*
/bin/rm
-f
rsa-f.
*
rsa-ff.
*
rsa-
fff.
*
exit
0
exit
0
test/tsid
浏览文件 @
3426b8ed
...
@@ -9,70 +9,70 @@ else
...
@@ -9,70 +9,70 @@ else
fi
fi
echo
testing session-id conversions
echo
testing session-id conversions
cp
$t
fff.p
cp
$t
sid-
fff.p
echo
"p -> d"
echo
"p -> d"
$cmd
-in
fff.p
-inform
p
-outform
d
>
f.d
$cmd
-in
sid-fff.p
-inform
p
-outform
d
>
sid-
f.d
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
#echo "p -> t"
#echo "p -> t"
#$cmd -in
fff.p -inform p -outform t >
f.t
#$cmd -in
sid-fff.p -inform p -outform t >sid-
f.t
#if [ $? != 0 ]; then exit 1; fi
#if [ $? != 0 ]; then exit 1; fi
echo
"p -> p"
echo
"p -> p"
$cmd
-in
fff.p
-inform
p
-outform
p
>
f.p
$cmd
-in
sid-fff.p
-inform
p
-outform
p
>
sid-
f.p
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
echo
"d -> d"
echo
"d -> d"
$cmd
-in
f.d
-inform
d
-outform
d
>
ff.d1
$cmd
-in
sid-f.d
-inform
d
-outform
d
>
sid-
ff.d1
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
#echo "t -> d"
#echo "t -> d"
#$cmd -in
f.t -inform t -outform d >
ff.d2
#$cmd -in
sid-f.t -inform t -outform d >sid-
ff.d2
#if [ $? != 0 ]; then exit 1; fi
#if [ $? != 0 ]; then exit 1; fi
echo
"p -> d"
echo
"p -> d"
$cmd
-in
f.p
-inform
p
-outform
d
>
ff.d3
$cmd
-in
sid-f.p
-inform
p
-outform
d
>
sid-
ff.d3
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
#echo "d -> t"
#echo "d -> t"
#$cmd -in
f.d -inform d -outform t >
ff.t1
#$cmd -in
sid-f.d -inform d -outform t >sid-
ff.t1
#if [ $? != 0 ]; then exit 1; fi
#if [ $? != 0 ]; then exit 1; fi
#echo "t -> t"
#echo "t -> t"
#$cmd -in
f.t -inform t -outform t >
ff.t2
#$cmd -in
sid-f.t -inform t -outform t >sid-
ff.t2
#if [ $? != 0 ]; then exit 1; fi
#if [ $? != 0 ]; then exit 1; fi
#echo "p -> t"
#echo "p -> t"
#$cmd -in
f.p -inform p -outform t >
ff.t3
#$cmd -in
sid-f.p -inform p -outform t >sid-
ff.t3
#if [ $? != 0 ]; then exit 1; fi
#if [ $? != 0 ]; then exit 1; fi
echo
"d -> p"
echo
"d -> p"
$cmd
-in
f.d
-inform
d
-outform
p
>
ff.p1
$cmd
-in
sid-f.d
-inform
d
-outform
p
>
sid-
ff.p1
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
#echo "t -> p"
#echo "t -> p"
#$cmd -in
f.t -inform t -outform p >
ff.p2
#$cmd -in
sid-f.t -inform t -outform p >sid-
ff.p2
#if [ $? != 0 ]; then exit 1; fi
#if [ $? != 0 ]; then exit 1; fi
echo
"p -> p"
echo
"p -> p"
$cmd
-in
f.p
-inform
p
-outform
p
>
ff.p3
$cmd
-in
sid-f.p
-inform
p
-outform
p
>
sid-
ff.p3
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
cmp
fff.p
f.p
cmp
sid-fff.p sid-
f.p
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
cmp
fff.p
ff.p1
cmp
sid-fff.p sid-
ff.p1
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
#cmp
fff.p
ff.p2
#cmp
sid-fff.p sid-
ff.p2
#if [ $? != 0 ]; then exit 1; fi
#if [ $? != 0 ]; then exit 1; fi
cmp
fff.p
ff.p3
cmp
sid-fff.p sid-
ff.p3
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
#cmp
f.t
ff.t1
#cmp
sid-f.t sid-
ff.t1
#if [ $? != 0 ]; then exit 1; fi
#if [ $? != 0 ]; then exit 1; fi
#cmp
f.t
ff.t2
#cmp
sid-f.t sid-
ff.t2
#if [ $? != 0 ]; then exit 1; fi
#if [ $? != 0 ]; then exit 1; fi
#cmp
f.t
ff.t3
#cmp
sid-f.t sid-
ff.t3
#if [ $? != 0 ]; then exit 1; fi
#if [ $? != 0 ]; then exit 1; fi
cmp
f.p
ff.p1
cmp
sid-f.p sid-
ff.p1
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
#cmp
f.p
ff.p2
#cmp
sid-f.p sid-
ff.p2
#if [ $? != 0 ]; then exit 1; fi
#if [ $? != 0 ]; then exit 1; fi
cmp
f.p
ff.p3
cmp
sid-f.p sid-
ff.p3
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
/bin/rm
-f
f.
*
ff.
*
fff.
*
/bin/rm
-f
sid-f.
*
sid-ff.
*
sid-
fff.
*
exit
0
exit
0
test/tx509
浏览文件 @
3426b8ed
...
@@ -9,70 +9,70 @@ else
...
@@ -9,70 +9,70 @@ else
fi
fi
echo
testing X509 conversions
echo
testing X509 conversions
cp
$t
fff.p
cp
$t
x509-
fff.p
echo
"p -> d"
echo
"p -> d"
$cmd
-in
fff.p
-inform
p
-outform
d
>
f.d
$cmd
-in
x509-fff.p
-inform
p
-outform
d
>
x509-
f.d
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
echo
"p -> n"
echo
"p -> n"
$cmd
-in
fff.p
-inform
p
-outform
n
>
f.n
$cmd
-in
x509-fff.p
-inform
p
-outform
n
>
x509-
f.n
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
echo
"p -> p"
echo
"p -> p"
$cmd
-in
fff.p
-inform
p
-outform
p
>
f.p
$cmd
-in
x509-fff.p
-inform
p
-outform
p
>
x509-
f.p
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
echo
"d -> d"
echo
"d -> d"
$cmd
-in
f.d
-inform
d
-outform
d
>
ff.d1
$cmd
-in
x509-f.d
-inform
d
-outform
d
>
x509-
ff.d1
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
echo
"n -> d"
echo
"n -> d"
$cmd
-in
f.n
-inform
n
-outform
d
>
ff.d2
$cmd
-in
x509-f.n
-inform
n
-outform
d
>
x509-
ff.d2
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
echo
"p -> d"
echo
"p -> d"
$cmd
-in
f.p
-inform
p
-outform
d
>
ff.d3
$cmd
-in
x509-f.p
-inform
p
-outform
d
>
x509-
ff.d3
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
echo
"d -> n"
echo
"d -> n"
$cmd
-in
f.d
-inform
d
-outform
n
>
ff.n1
$cmd
-in
x509-f.d
-inform
d
-outform
n
>
x509-
ff.n1
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
echo
"n -> n"
echo
"n -> n"
$cmd
-in
f.n
-inform
n
-outform
n
>
ff.n2
$cmd
-in
x509-f.n
-inform
n
-outform
n
>
x509-
ff.n2
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
echo
"p -> n"
echo
"p -> n"
$cmd
-in
f.p
-inform
p
-outform
n
>
ff.n3
$cmd
-in
x509-f.p
-inform
p
-outform
n
>
x509-
ff.n3
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
echo
"d -> p"
echo
"d -> p"
$cmd
-in
f.d
-inform
d
-outform
p
>
ff.p1
$cmd
-in
x509-f.d
-inform
d
-outform
p
>
x509-
ff.p1
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
echo
"n -> p"
echo
"n -> p"
$cmd
-in
f.n
-inform
n
-outform
p
>
ff.p2
$cmd
-in
x509-f.n
-inform
n
-outform
p
>
x509-
ff.p2
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
echo
"p -> p"
echo
"p -> p"
$cmd
-in
f.p
-inform
p
-outform
p
>
ff.p3
$cmd
-in
x509-f.p
-inform
p
-outform
p
>
x509-
ff.p3
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
cmp
fff.p
f.p
cmp
x509-fff.p x509-
f.p
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
cmp
fff.p
ff.p1
cmp
x509-fff.p x509-
ff.p1
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
cmp
fff.p
ff.p2
cmp
x509-fff.p x509-
ff.p2
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
cmp
fff.p
ff.p3
cmp
x509-fff.p x509-
ff.p3
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
cmp
f.n
ff.n1
cmp
x509-f.n x509-
ff.n1
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
cmp
f.n
ff.n2
cmp
x509-f.n x509-
ff.n2
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
cmp
f.n
ff.n3
cmp
x509-f.n x509-
ff.n3
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
cmp
f.p
ff.p1
cmp
x509-f.p x509-
ff.p1
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
cmp
f.p
ff.p2
cmp
x509-f.p x509-
ff.p2
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
cmp
f.p
ff.p3
cmp
x509-f.p x509-
ff.p3
if
[
$?
!=
0
]
;
then
exit
1
;
fi
if
[
$?
!=
0
]
;
then
exit
1
;
fi
/bin/rm
-f
f.
*
ff.
*
fff.
*
/bin/rm
-f
x509-f.
*
x509-ff.
*
x509-
fff.
*
exit
0
exit
0
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录