"openssl no-..." commands for avoiding the need to grep
[openssl.git] / test / Makefile.ssl
index 8cd3be0eaa2d23daff9d56cb90592e3b7f4fd21b..5f3636401799e9db280244c68dc4dae1ad974353 100644 (file)
@@ -215,11 +215,11 @@ test_ssl: keyU.ss certU.ss certCA.ss
        @sh ./testssl keyU.ss certU.ss certCA.ss
 
 test_ca:
-       @if ../apps/openssl list-standard-commands | grep '^rsa$$' >/dev/null; then \
+       @if ../apps/openssl no-rsa; then \
+         echo "skipping CA.sh test -- requires RSA"; \
+       else \
          echo "Generate and certify a test certificate via the 'ca' program"; \
          sh ./testca; \
-       else \
-         echo "skipping CA.sh test -- requires RSA"; \
        fi
 
 lint: