From 04cc762941cb4b6dfcc5f1904b03cde683eafc7f Mon Sep 17 00:00:00 2001 From: Kazuki Yamaguchi Date: Thu, 9 Jan 2025 16:01:22 +0900 Subject: [ruby/openssl] engine: remove constants for ENGINE_METHOD_BN_MOD_EXP{,_CRT} These macros do not exist in OpenSSL 0.9.7 or later, which was released in 2002. https://github.com/ruby/openssl/commit/938a1e6aab --- ext/openssl/ossl_engine.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/ext/openssl/ossl_engine.c b/ext/openssl/ossl_engine.c index bf9b50c4c8..947d500c24 100644 --- a/ext/openssl/ossl_engine.c +++ b/ext/openssl/ossl_engine.c @@ -549,12 +549,6 @@ Init_ossl_engine(void) DefEngineConst(METHOD_DSA); DefEngineConst(METHOD_DH); DefEngineConst(METHOD_RAND); -#ifdef ENGINE_METHOD_BN_MOD_EXP - DefEngineConst(METHOD_BN_MOD_EXP); -#endif -#ifdef ENGINE_METHOD_BN_MOD_EXP_CRT - DefEngineConst(METHOD_BN_MOD_EXP_CRT); -#endif DefEngineConst(METHOD_CIPHERS); DefEngineConst(METHOD_DIGESTS); DefEngineConst(METHOD_ALL); -- cgit v1.2.3