From: Bodo Möller Date: Mon, 13 Mar 2000 18:05:59 +0000 (+0000) Subject: Don't try to test the RSA command if it is not available. X-Git-Tag: OpenSSL_0_9_5a-beta1~56 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ee607d338a6b023375d70e487062a47de65f5508;p=oweals%2Fopenssl.git Don't try to test the RSA command if it is not available. --- diff --git a/test/trsa b/test/trsa index d6a4dd826d..a7a624978f 100644 --- a/test/trsa +++ b/test/trsa @@ -3,6 +3,13 @@ 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 + exit 0 +fi + cmd='../apps/openssl rsa' if [ "$1"x != "x" ]; then