aboutsummaryrefslogtreecommitdiffstats
path: root/ext/openssl/extconf.rb
diff options
context:
space:
mode:
authorKazuki Yamaguchi <k@rhe.jp>2020-02-20 16:04:26 +0000
committerKazuki Yamaguchi <k@rhe.jp>2020-02-20 16:53:41 +0000
commitaed699251906a640d614f01281fd7414028f837c (patch)
treecc8860a3c388426563e957ed7402196a1d77043c /ext/openssl/extconf.rb
parent4a7249e83a5095a3910378ba1113b54a52344dbd (diff)
downloadruby-openssl-aed699251906a640d614f01281fd7414028f837c.tar.gz
engine: revert OpenSSL::Engine.load changes for cloudhsmky/engine-load-revert-cloudhsm
Revert two commits: - ea49ccc82aa4 Add cloudhsm to extconf.rb - 33ed3ba10424 Add cloudhsm to ossl_engine.c OpenSSL::Engine.load is a binding for ENGINE_load_*() functions which are provided by OpenSSL itself, so-called "static engines". Since the AWS CloudHSM engine is a dynamic engine, which is provided as a shared library, this change is not a correct solution for the issue. Reference: https://github.com/ruby/openssl/issues/189 Reference: https://github.com/ruby/openssl/pull/190
Diffstat (limited to 'ext/openssl/extconf.rb')
-rw-r--r--ext/openssl/extconf.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/openssl/extconf.rb b/ext/openssl/extconf.rb
index f424bf01..107cc4cf 100644
--- a/ext/openssl/extconf.rb
+++ b/ext/openssl/extconf.rb
@@ -111,8 +111,7 @@ Logging::message "=== Checking for OpenSSL features... ===\n"
# compile options
have_func("RAND_egd")
engines = %w{builtin_engines openbsd_dev_crypto dynamic 4758cca aep atalla chil
- cswift nuron sureware ubsec padlock capi gmp gost cryptodev aesni
- cloudhsm}
+ cswift nuron sureware ubsec padlock capi gmp gost cryptodev aesni}
engines.each { |name|
have_func("ENGINE_load_#{name}()", "openssl/engine.h")
}