"openssl no-..." commands for avoiding the need to grep
[openssl.git] / test / trsa
index a7a624978f329225a346185611581a4891777d00..bd6c07650a5b69efbedc1b36fb8946d221bd265d 100644 (file)
--- a/test/trsa
+++ b/test/trsa
@@ -3,10 +3,8 @@
 PATH=../apps:$PATH
 export PATH
 
-if ../apps/openssl list-standard-commands | grep '^rsa$' >/dev/null; then
-  echo openssl rsa command available
-else
-  echo openssl rsa command not available, skipping test
+if ../apps/openssl no-rsa; then
+  echo skipping rsa conversion test
   exit 0
 fi