Fix tests for ssleay -> openssl.

This commit is contained in:
Ben Laurie 1999-01-02 19:01:41 +00:00
parent 2ec077d87e
commit 288370ea26
12 changed files with 16 additions and 16 deletions

View file

@ -183,7 +183,7 @@ if (((NR+1)%64) == 0) print NR+1," tests done"; }'
test_verify:
@echo "The following command should have some OK's and some failures"
@echo "There are definitly a few expired certificates"
../apps/ssleay verify -CApath ../certs ../certs/*.pem
../apps/openssl verify -CApath ../certs ../certs/*.pem
test_dh:
@echo "Generate as set of DH parameters"

View file

@ -3,7 +3,7 @@
PATH=../apps:$PATH
export PATH
cmd='../apps/ssleay crl'
cmd='../apps/openssl crl'
if [ "$1"x != "x" ]; then
t=$1

View file

@ -23,7 +23,7 @@ if [ $? != 0 ]; then
fi
SSLEAY_CONFIG="-config ../apps/ssleay.cnf"
SSLEAY_CONFIG="-config ../apps/openssl.cnf"
export SSLEAY_CONFIG
$SH ../apps/CA.sh -sign <<EOF
y

View file

@ -2,7 +2,7 @@
testsrc=Makefile.ssl
test=./p
cmd=../apps/ssleay
cmd=../apps/openssl
cat $testsrc >$test;

View file

@ -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 "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
echo problems creating request
exit 1
fi
../apps/ssleay req -verify -in testreq.pem -noout
../apps/openssl req -verify -in testreq.pem -noout
if [ $? != 0 ]; then
echo signature on req is wrong
exit 1

View file

@ -1,9 +1,9 @@
#!/bin/sh
digest='-mdc2'
reqcmd="../apps/ssleay req"
x509cmd="../apps/ssleay x509 $digest"
verifycmd="../apps/ssleay verify"
reqcmd="../apps/openssl req"
x509cmd="../apps/openssl x509 $digest"
verifycmd="../apps/openssl verify"
CAkey="keyCA.ss"
CAcert="certCA.ss"

View file

@ -3,7 +3,7 @@
PATH=../apps:$PATH
export PATH
cmd='../apps/ssleay pkcs7'
cmd='../apps/openssl pkcs7'
if [ "$1"x != "x" ]; then
t=$1

View file

@ -3,7 +3,7 @@
PATH=../apps:$PATH
export PATH
cmd='../apps/ssleay pkcs7'
cmd='../apps/openssl pkcs7'
if [ "$1"x != "x" ]; then
t=$1
@ -11,7 +11,7 @@ else
t=pkcs7-1.pem
fi
echo testing pkcs7 conversions
echo "testing pkcs7 conversions (2)"
cp $t fff.p
echo "p -> d"

View file

@ -3,7 +3,7 @@
PATH=../apps:$PATH
export PATH
cmd='../apps/ssleay req'
cmd='../apps/openssl req'
if [ "$1"x != "x" ]; then
t=$1

View file

@ -3,7 +3,7 @@
PATH=../apps:$PATH
export PATH
cmd='../apps/ssleay rsa'
cmd='../apps/openssl rsa'
if [ "$1"x != "x" ]; then
t=$1

View file

@ -3,7 +3,7 @@
PATH=../apps:$PATH
export PATH
cmd='../apps/ssleay sess_id'
cmd='../apps/openssl sess_id'
if [ "$1"x != "x" ]; then
t=$1

View file

@ -3,7 +3,7 @@
PATH=../apps:$PATH
export PATH
cmd='../apps/ssleay x509'
cmd='../apps/openssl x509'
if [ "$1"x != "x" ]; then
t=$1