Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
btwise
openssl
提交
687403fb
O
openssl
项目概览
btwise
/
openssl
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
O
openssl
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
687403fb
编写于
3月 06, 2014
作者:
A
Andy Polyakov
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
test/Makefile: allow emulated test (e.g. under wine).
Submitted by: Roumen Petrov
上级
972b0dc3
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
41 addition
and
45 deletion
+41
-45
test/Makefile
test/Makefile
+41
-45
未找到文件。
test/Makefile
浏览文件 @
687403fb
...
...
@@ -184,7 +184,7 @@ apps:
alltests
:
\
test_des test_idea test_sha test_md4 test_md5 test_hmac
\
test_md2 test_mdc2 test_wp
\
test_rmd test_rc2 test_rc4 test_rc5 test_bf test_cast
test_aes
\
test_rmd test_rc2 test_rc4 test_rc5 test_bf test_cast
\
test_rand test_bn test_ec test_ecdsa test_ecdh
\
test_enc test_x509 test_rsa test_crl test_sid
\
test_gen test_req test_pkcs7 test_verify test_dh test_dsa
\
...
...
@@ -192,67 +192,67 @@ alltests: \
test_jpake test_srp test_cms test_v3name test_ocsp
\
test_gost2814789
test_evp
:
$(EVPTEST) evptests.txt
test_evp
:
$(EVPTEST)
$(EXE_EXT)
evptests.txt
../util/shlib_wrap.sh ./
$(EVPTEST)
evptests.txt
test_des
:
$(DESTEST)
test_des
:
$(DESTEST)
$(EXE_EXT)
../util/shlib_wrap.sh ./
$(DESTEST)
test_idea
:
$(IDEATEST)
test_idea
:
$(IDEATEST)
$(EXE_EXT)
../util/shlib_wrap.sh ./
$(IDEATEST)
test_sha
:
$(SHATEST)
$(SHA1TEST) $(SHA256TEST) $(SHA512TES
T)
test_sha
:
$(SHATEST)
$(EXE_EXT) $(SHA1TEST)$(EXE_EXT) $(SHA256TEST)$(EXE_EXT) $(SHA512TEST)$(EXE_EX
T)
../util/shlib_wrap.sh ./
$(SHATEST)
../util/shlib_wrap.sh ./
$(SHA1TEST)
../util/shlib_wrap.sh ./
$(SHA256TEST)
../util/shlib_wrap.sh ./
$(SHA512TEST)
test_mdc2
:
$(MDC2TEST)
test_mdc2
:
$(MDC2TEST)
$(EXE_EXT)
../util/shlib_wrap.sh ./
$(MDC2TEST)
test_md5
:
$(MD5TEST)
test_md5
:
$(MD5TEST)
$(EXE_EXT)
../util/shlib_wrap.sh ./
$(MD5TEST)
test_md4
:
$(MD4TEST)
test_md4
:
$(MD4TEST)
$(EXE_EXT)
../util/shlib_wrap.sh ./
$(MD4TEST)
test_hmac
:
$(HMACTEST)
test_hmac
:
$(HMACTEST)
$(EXE_EXT)
../util/shlib_wrap.sh ./
$(HMACTEST)
test_wp
:
$(WPTEST)
test_wp
:
$(WPTEST)
$(EXE_EXT)
../util/shlib_wrap.sh ./
$(WPTEST)
test_md2
:
$(MD2TEST)
test_md2
:
$(MD2TEST)
$(EXE_EXT)
../util/shlib_wrap.sh ./
$(MD2TEST)
test_rmd
:
$(RMDTEST)
test_rmd
:
$(RMDTEST)
$(EXE_EXT)
../util/shlib_wrap.sh ./
$(RMDTEST)
test_bf
:
$(BFTEST)
test_bf
:
$(BFTEST)
$(EXE_EXT)
../util/shlib_wrap.sh ./
$(BFTEST)
test_cast
:
$(CASTTEST)
test_cast
:
$(CASTTEST)
$(EXE_EXT)
../util/shlib_wrap.sh ./
$(CASTTEST)
test_rc2
:
$(RC2TEST)
test_rc2
:
$(RC2TEST)
$(EXE_EXT)
../util/shlib_wrap.sh ./
$(RC2TEST)
test_rc4
:
$(RC4TEST)
test_rc4
:
$(RC4TEST)
$(EXE_EXT)
../util/shlib_wrap.sh ./
$(RC4TEST)
test_rc5
:
$(RC5TEST)
test_rc5
:
$(RC5TEST)
$(EXE_EXT)
../util/shlib_wrap.sh ./
$(RC5TEST)
test_rand
:
$(RANDTEST)
test_rand
:
$(RANDTEST)
$(EXE_EXT)
../util/shlib_wrap.sh ./
$(RANDTEST)
test_gost2814789
:
$(GOST2814789TEST)
test_gost2814789
:
$(GOST2814789TEST)
$(EXE_EXT)
../util/shlib_wrap.sh ./
$(GOST2814789TEST)
test_enc
:
../apps/openssl testenc
test_enc
:
../apps/openssl
$(EXE_EXT)
testenc
@
sh ./testenc
test_x509
:
../apps/openssl tx509 testx509.pem v3-cert1.pem v3-cert2.pem
test_x509
:
../apps/openssl
$(EXE_EXT)
tx509 testx509.pem v3-cert1.pem v3-cert2.pem
echo test
normal x509v1 certificate
sh ./tx509 2>/dev/null
echo test
first x509v3 certificate
...
...
@@ -260,25 +260,25 @@ test_x509: ../apps/openssl tx509 testx509.pem v3-cert1.pem v3-cert2.pem
echo test
second x509v3 certificate
sh ./tx509 v3-cert2.pem 2>/dev/null
test_rsa
:
$(RSATEST)$(EXE_EXT) ../apps/openssl trsa testrsa.pem
test_rsa
:
$(RSATEST)$(EXE_EXT) ../apps/openssl
$(EXE_EXT)
trsa testrsa.pem
@
sh ./trsa 2>/dev/null
../util/shlib_wrap.sh ./
$(RSATEST)
test_crl
:
../apps/openssl tcrl testcrl.pem
test_crl
:
../apps/openssl
$(EXE_EXT)
tcrl testcrl.pem
@
sh ./tcrl 2>/dev/null
test_sid
:
../apps/openssl tsid testsid.pem
test_sid
:
../apps/openssl
$(EXE_EXT)
tsid testsid.pem
@
sh ./tsid 2>/dev/null
test_req
:
../apps/openssl treq testreq.pem testreq2.pem
test_req
:
../apps/openssl
$(EXE_EXT)
treq testreq.pem testreq2.pem
@
sh ./treq 2>/dev/null
@
sh ./treq testreq2.pem 2>/dev/null
test_pkcs7
:
../apps/openssl tpkcs7 tpkcs7d testp7.pem pkcs7-1.pem
test_pkcs7
:
../apps/openssl
$(EXE_EXT)
tpkcs7 tpkcs7d testp7.pem pkcs7-1.pem
@
sh ./tpkcs7 2>/dev/null
@
sh ./tpkcs7d 2>/dev/null
test_bn
:
$(BNTEST)
$(EXPTES
T) bctest
test_bn
:
$(BNTEST)
$(EXE_EXT) $(EXPTEST)$(EXE_EX
T) bctest
@
echo
starting big number library
test
, could take a
while
...
@
../util/shlib_wrap.sh ./
$(BNTEST)
>
tmp.bntest
@
echo
quit
>>
tmp.bntest
...
...
@@ -287,50 +287,50 @@ test_bn: $(BNTEST) $(EXPTEST) bctest
@
echo
'test a^b%c implementations'
../util/shlib_wrap.sh ./
$(EXPTEST)
test_ec
:
$(ECTEST)
test_ec
:
$(ECTEST)
$(EXE_EXT)
@
echo
'test elliptic curves'
../util/shlib_wrap.sh ./
$(ECTEST)
test_ecdsa
:
$(ECDSATEST)
test_ecdsa
:
$(ECDSATEST)
$(EXE_EXT)
@
echo
'test ecdsa'
../util/shlib_wrap.sh ./
$(ECDSATEST)
test_ecdh
:
$(ECDHTEST)
test_ecdh
:
$(ECDHTEST)
$(EXE_EXT)
@
echo
'test ecdh'
../util/shlib_wrap.sh ./
$(ECDHTEST)
test_verify
:
../apps/openssl
test_verify
:
../apps/openssl
$(EXE_EXT)
@
echo
"The following command should have some OK's and some failures"
@
echo
"There are definitly a few expired certificates"
../util/shlib_wrap.sh ../apps/openssl verify
-CApath
../certs/demo ../certs/demo/
*
.pem
test_dh
:
$(DHTEST)
test_dh
:
$(DHTEST)
$(EXE_EXT)
@
echo
"Generate a set of DH parameters"
../util/shlib_wrap.sh ./
$(DHTEST)
test_dsa
:
$(DSATEST)
test_dsa
:
$(DSATEST)
$(EXE_EXT)
@
echo
"Generate a set of DSA parameters"
../util/shlib_wrap.sh ./
$(DSATEST)
../util/shlib_wrap.sh ./
$(DSATEST)
-app2_1
test_gen testreq.pem
:
../apps/openssl testgen test.cnf
test_gen testreq.pem
:
../apps/openssl
$(EXE_EXT)
testgen test.cnf
@
echo
"Generate and verify a certificate request"
@
sh ./testgen
test_ss
keyU.ss
certU.ss
certCA.ss
certP1.ss
keyP1.ss
certP2.ss
keyP2.ss
\
intP1.ss intP2.ss
:
testss CAss.cnf Uss.cnf P1ss.cnf P2ss.cnf
\
../apps/openssl
../apps/openssl
$(EXE_EXT)
@
echo
"Generate and certify a test certificate"
@
sh ./testss
@
cat
certCA.ss certU.ss
>
intP1.ss
@
cat
certCA.ss certU.ss certP1.ss
>
intP2.ss
test_engine
:
$(ENGINETEST)
test_engine
:
$(ENGINETEST)
$(EXE_EXT)
@
echo
"Manipulate the ENGINE structures"
../util/shlib_wrap.sh ./
$(ENGINETEST)
test_ssl
:
keyU.ss certU.ss certCA.ss certP1.ss keyP1.ss certP2.ss keyP2.ss
\
intP1.ss intP2.ss $(SSLTEST) testssl testsslproxy
\
intP1.ss intP2.ss $(SSLTEST)
$(EXE_EXT)
testssl testsslproxy
\
../apps/server2.pem serverinfo.pem
@
echo
"test SSL protocol"
../util/shlib_wrap.sh ./
$(SSLTEST)
-test_cipherlist
...
...
@@ -338,7 +338,7 @@ test_ssl: keyU.ss certU.ss certCA.ss certP1.ss keyP1.ss certP2.ss keyP2.ss \
@
sh ./testsslproxy keyP1.ss certP1.ss intP1.ss
@
sh ./testsslproxy keyP2.ss certP2.ss intP2.ss
test_ca
:
../apps/openssl testca CAss.cnf Uss.cnf
test_ca
:
../apps/openssl
$(EXE_EXT)
testca CAss.cnf Uss.cnf
@
if
../util/shlib_wrap.sh ../apps/openssl no-rsa
;
then
\
echo
"skipping CA.sh test -- requires RSA"
;
\
else
\
...
...
@@ -346,11 +346,7 @@ test_ca: ../apps/openssl testca CAss.cnf Uss.cnf
sh ./testca
;
\
fi
test_aes
:
#
$(AESTEST)
# @echo "test Rijndael"
# ../util/shlib_wrap.sh ./$(AESTEST)
test_tsa
:
../apps/openssl testtsa CAtsa.cnf ../util/shlib_wrap.sh
test_tsa
:
../apps/openssl$(EXE_EXT) testtsa CAtsa.cnf ../util/shlib_wrap.sh
@
if
../util/shlib_wrap.sh ../apps/openssl no-rsa
;
then
\
echo
"skipping testtsa test -- requires RSA"
;
\
else
\
...
...
@@ -365,7 +361,7 @@ test_jpake: $(JPAKETEST)$(EXE_EXT)
@
echo
"Test JPAKE"
../util/shlib_wrap.sh ./
$(JPAKETEST)
test_cms
:
../apps/openssl cms-test.pl smcont.txt
test_cms
:
../apps/openssl
$(EXE_EXT)
cms-test.pl smcont.txt
@
echo
"CMS consistency test"
$(PERL)
cms-test.pl
...
...
@@ -377,7 +373,7 @@ test_v3name: $(V3NAMETEST)$(EXE_EXT)
@
echo
"Test X509v3_check_*"
../util/shlib_wrap.sh ./
$(V3NAMETEST)
test_ocsp
:
../apps/openssl tocsp
test_ocsp
:
../apps/openssl
$(EXE_EXT)
tocsp
@
echo
"Test OCSP"
@
sh ./tocsp
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录