summaryrefslogtreecommitdiff
path: root/ext/openssl/ossl_engine.c
diff options
context:
space:
mode:
authorKazuki Yamaguchi <[email protected]>2025-01-09 16:01:22 +0900
committergit <[email protected]>2025-01-20 17:12:55 +0000
commit04cc762941cb4b6dfcc5f1904b03cde683eafc7f (patch)
tree18bbb8563aff25ad5cffbd16beba31c2375863aa /ext/openssl/ossl_engine.c
parent5a448a87fca72ffc277e857d0440b8638ef22ad2 (diff)
[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
Diffstat (limited to 'ext/openssl/ossl_engine.c')
-rw-r--r--ext/openssl/ossl_engine.c6
1 files changed, 0 insertions, 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);