6 OPENSSL_CONF=/dev/null ; export OPENSSL_CONF
8 /bin/rm -f $T.1 $T.2 $T.key
10 if test "$OSTYPE" = msdosdjgpp; then
17 echo "generating certificate request"
19 echo "string to make the random number generator think it has entropy" >> ./.rnd
21 if ../util/shlib_wrap.sh ../apps/openssl no-rsa >/dev/null; then
22 req_new='-newkey dsa:../apps/dsa512.pem'
25 echo "There should be a 2 sequences of .'s and some +'s."
26 echo "There should not be more that at most 80 per line"
29 rm -f testkey.pem testreq.pem
31 echo Generating request
32 ../util/shlib_wrap.sh ../apps/openssl req -config test.cnf $req_new -out testreq.pem || exit 1
34 echo Verifying signature on request
35 ../util/shlib_wrap.sh ../apps/openssl req -config test.cnf -verify -in testreq.pem -noout || exit 1