Merge in changes from 0.9.7-stable.
[openssl.git] / test / testss
index bcc4f5295e7bc1dc1911b2f605b813b98eea209f..8d3557f356d9a1697d874e105eb87c3d5c36e41b 100644 (file)
@@ -20,10 +20,12 @@ Ucert="certU.ss"
 echo
 echo "make a certificate request using 'req'"
 
-if ../apps/openssl list-standard-commands | grep '^rsa$' >/dev/null; then
-  req_new='-new'
-else
+echo "string to make the random number generator think it has entropy" >> ./.rnd
+
+if ../apps/openssl no-rsa; then
   req_new='-newkey dsa:../apps/dsa512.pem'
+else
+  req_new='-new'
 fi
 
 $reqcmd -config $CAconf -out $CAreq -keyout $CAkey $req_new #>err.ss