[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
This commit is contained in:
Kazuki Yamaguchi 2025-01-09 16:01:22 +09:00 committed by git
parent 5a448a87fc
commit 04cc762941

View File

@ -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);