diff options
Diffstat (limited to 'crypto/openssl/test/testca')
-rw-r--r-- | crypto/openssl/test/testca | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/crypto/openssl/test/testca b/crypto/openssl/test/testca deleted file mode 100644 index 88c186b6ab847..0000000000000 --- a/crypto/openssl/test/testca +++ /dev/null @@ -1,44 +0,0 @@ -#!/bin/sh - -SH="/bin/sh" -PATH=../apps:$PATH -export SH PATH - -SSLEAY_CONFIG="-config CAss.cnf" -export SSLEAY_CONFIG - -/bin/rm -fr demoCA -$SH ../apps/CA.sh -newca <<EOF -EOF - -if [ $? != 0 ]; then - exit 1; -fi - -SSLEAY_CONFIG="-config Uss.cnf" -export SSLEAY_CONFIG -$SH ../apps/CA.sh -newreq -if [ $? != 0 ]; then - exit 1; -fi - - -SSLEAY_CONFIG="-config ../apps/openssl.cnf" -export SSLEAY_CONFIG -$SH ../apps/CA.sh -sign <<EOF -y -y -EOF -if [ $? != 0 ]; then - exit 1; -fi - - -$SH ../apps/CA.sh -verify newcert.pem -if [ $? != 0 ]; then - exit 1; -fi - -/bin/rm -fr demoCA newcert.pem newreq.pem -#usage: CA -newcert|-newreq|-newca|-sign|-verify - |