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; }