Don't run RC4 test with no-rc4
[openssl.git] / crypto / engine / eng_openssl.c
index 152c1881fa68b2d3c48d8bc6b896400ad63c7d05..7e1a58c062e07383e3f3d73d5ae81d3b3e79b5f5 100644 (file)
@@ -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;
 }