"openssl no-..." commands for avoiding the need to grep
[openssl.git] / test / testss
index bcc4f5295e7bc1dc1911b2f605b813b98eea209f..2f600f04d8ea512ff1af651ce80b185b1e5a75fa 100644 (file)
@@ -20,10 +20,10 @@ 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
+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