summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorRich Salz <rsalz@akamai.com>2016-02-09 19:45:17 -0500
committerRich Salz <rsalz@openssl.org>2016-02-09 21:10:36 -0500
commit5abb2fc964cc4ea26dbddc8cf334f6958a63ee0f (patch)
tree8c0e555018070ddef3a8b655c63cef7389a92135 /crypto
parenteffaf4dee90beff07bb40f21d81352304a5e8152 (diff)
Don't run RC4 test with no-rc4
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'crypto')
-rw-r--r--crypto/engine/eng_openssl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/engine/eng_openssl.c b/crypto/engine/eng_openssl.c
index 152c1881fa..7e1a58c062 100644
--- a/crypto/engine/eng_openssl.c
+++ b/crypto/engine/eng_openssl.c
@@ -683,8 +683,10 @@ static int ossl_pkey_meths(ENGINE *e, EVP_PKEY_METHOD **pmeth,
int openssl_destroy(ENGINE *e)
{
test_sha_md_destroy();
+#ifdef TEST_ENG_OPENSSL_RC4
test_r4_cipher_destroy();
test_r4_40_cipher_destroy();
+#endif
return 1;
}