Loading test/testgen +1 −1 Original line number Original line Diff line number Diff line Loading @@ -21,7 +21,7 @@ echo problems creating request exit 1 exit 1 fi fi ../apps/openssl req -verify -in testreq.pem -noout ../apps/openssl req -config test.cnf -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 Loading test/testss +3 −2 Original line number Original line Diff line number Diff line Loading @@ -4,6 +4,7 @@ digest='-mdc2' reqcmd="../apps/openssl req" reqcmd="../apps/openssl req" x509cmd="../apps/openssl x509 $digest" x509cmd="../apps/openssl x509 $digest" verifycmd="../apps/openssl verify" verifycmd="../apps/openssl verify" dummycnf="../apps/openssl.cnf" CAkey="keyCA.ss" CAkey="keyCA.ss" CAcert="certCA.ss" CAcert="certCA.ss" Loading Loading @@ -39,13 +40,13 @@ if [ $? != 0 ]; then exit 1 exit 1 fi fi $reqcmd -verify -in $CAreq -noout $reqcmd -config $dummycnf -verify -in $CAreq -noout if [ $? != 0 ]; then if [ $? != 0 ]; then echo first generated request is invalid echo first generated request is invalid exit 1 exit 1 fi fi $reqcmd -verify -in $CAreq2 -noout $reqcmd -config $dummycnf -verify -in $CAreq2 -noout if [ $? != 0 ]; then if [ $? != 0 ]; then echo second generated request is invalid echo second generated request is invalid exit 1 exit 1 Loading test/treq +1 −1 Original line number Original line Diff line number Diff line Loading @@ -3,7 +3,7 @@ PATH=../apps:$PATH PATH=../apps:$PATH export PATH export PATH cmd='../apps/openssl req' cmd='../apps/openssl req -config ../apps/openssl.cnf' if [ "$1"x != "x" ]; then if [ "$1"x != "x" ]; then t=$1 t=$1 Loading Loading
test/testgen +1 −1 Original line number Original line Diff line number Diff line Loading @@ -21,7 +21,7 @@ echo problems creating request exit 1 exit 1 fi fi ../apps/openssl req -verify -in testreq.pem -noout ../apps/openssl req -config test.cnf -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 Loading
test/testss +3 −2 Original line number Original line Diff line number Diff line Loading @@ -4,6 +4,7 @@ digest='-mdc2' reqcmd="../apps/openssl req" reqcmd="../apps/openssl req" x509cmd="../apps/openssl x509 $digest" x509cmd="../apps/openssl x509 $digest" verifycmd="../apps/openssl verify" verifycmd="../apps/openssl verify" dummycnf="../apps/openssl.cnf" CAkey="keyCA.ss" CAkey="keyCA.ss" CAcert="certCA.ss" CAcert="certCA.ss" Loading Loading @@ -39,13 +40,13 @@ if [ $? != 0 ]; then exit 1 exit 1 fi fi $reqcmd -verify -in $CAreq -noout $reqcmd -config $dummycnf -verify -in $CAreq -noout if [ $? != 0 ]; then if [ $? != 0 ]; then echo first generated request is invalid echo first generated request is invalid exit 1 exit 1 fi fi $reqcmd -verify -in $CAreq2 -noout $reqcmd -config $dummycnf -verify -in $CAreq2 -noout if [ $? != 0 ]; then if [ $? != 0 ]; then echo second generated request is invalid echo second generated request is invalid exit 1 exit 1 Loading
test/treq +1 −1 Original line number Original line Diff line number Diff line Loading @@ -3,7 +3,7 @@ PATH=../apps:$PATH PATH=../apps:$PATH export PATH export PATH cmd='../apps/openssl req' cmd='../apps/openssl req -config ../apps/openssl.cnf' if [ "$1"x != "x" ]; then if [ "$1"x != "x" ]; then t=$1 t=$1 Loading