diff options
Diffstat (limited to 'ext/openssl/extconf.rb')
-rw-r--r-- | ext/openssl/extconf.rb | 31 |
1 files changed, 16 insertions, 15 deletions
diff --git a/ext/openssl/extconf.rb b/ext/openssl/extconf.rb index cf00db9a41..c231e7f206 100644 --- a/ext/openssl/extconf.rb +++ b/ext/openssl/extconf.rb @@ -149,21 +149,21 @@ if have_header("openssl/engine.h") have_func("ENGINE_get_digest") have_func("ENGINE_get_cipher") have_func("ENGINE_cleanup") - have_func("ENGINE_load_dynamic") - have_func("ENGINE_load_4758cca") - have_func("ENGINE_load_aep") - have_func("ENGINE_load_atalla") - have_func("ENGINE_load_chil") - have_func("ENGINE_load_cswift") - have_func("ENGINE_load_nuron") - have_func("ENGINE_load_sureware") - have_func("ENGINE_load_ubsec") - have_func("ENGINE_load_padlock") - have_func("ENGINE_load_capi") - have_func("ENGINE_load_gmp") - have_func("ENGINE_load_gost") - have_func("ENGINE_load_cryptodev") - have_func("ENGINE_load_aesni") + have_func_or_macro("ENGINE_load_dynamic", "openssl/engine.h") + have_func_or_macro("ENGINE_load_4758cca", "openssl/engine.h") + have_func_or_macro("ENGINE_load_aep", "openssl/engine.h") + have_func_or_macro("ENGINE_load_atalla", "openssl/engine.h") + have_func_or_macro("ENGINE_load_chil", "openssl/engine.h") + have_func_or_macro("ENGINE_load_cswift", "openssl/engine.h") + have_func_or_macro("ENGINE_load_nuron", "openssl/engine.h") + have_func_or_macro("ENGINE_load_sureware", "openssl/engine.h") + have_func_or_macro("ENGINE_load_ubsec", "openssl/engine.h") + have_func_or_macro("ENGINE_load_padlock", "openssl/engine.h") + have_func_or_macro("ENGINE_load_capi", "openssl/engine.h") + have_func_or_macro("ENGINE_load_gmp", "openssl/engine.h") + have_func_or_macro("ENGINE_load_gost", "openssl/engine.h") + have_func_or_macro("ENGINE_load_cryptodev", "openssl/engine.h") + have_func_or_macro("ENGINE_load_aesni", "openssl/engine.h") end have_func("DH_generate_parameters_ex") have_func("DSA_generate_parameters_ex") @@ -179,6 +179,7 @@ end have_struct_member("CRYPTO_THREADID", "ptr", "openssl/crypto.h") have_struct_member("EVP_CIPHER_CTX", "flags", "openssl/evp.h") have_struct_member("EVP_CIPHER_CTX", "engine", "openssl/evp.h") +have_struct_member("EVP_PKEY", "type", "openssl/evp.h") have_macro("OPENSSL_FIPS", ['openssl/opensslconf.h']) && $defs.push("-DHAVE_OPENSSL_FIPS") have_macro("EVP_CTRL_GCM_GET_TAG", ['openssl/evp.h']) && $defs.push("-DHAVE_AUTHENTICATED_ENCRYPTION") have_func("CRYPTO_lock") # removed in OpenSSL 1.1 |