aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKyle Oliveira <kcoliveira@ucdavis.edu>2018-02-23 08:55:28 -0800
committerSamuel Williams <samuel.williams@oriontransfer.co.nz>2020-01-25 00:31:23 +1300
commitea49ccc82aa4d939f7c95e674272e8e0e553cbbc (patch)
tree4bf832cd11af4045b30f787827c35eb11cea270e
parent33ed3ba10424b31c094b08f114452d28abdf5c27 (diff)
downloadruby-openssl-ea49ccc82aa4d939f7c95e674272e8e0e553cbbc.tar.gz
Add cloudhsm to extconf.rb
to support the CloudHSM OpenSSL library
-rw-r--r--ext/openssl/extconf.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/openssl/extconf.rb b/ext/openssl/extconf.rb
index fa07dea8..28e73436 100644
--- a/ext/openssl/extconf.rb
+++ b/ext/openssl/extconf.rb
@@ -115,7 +115,8 @@ 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}
+ cswift nuron sureware ubsec padlock capi gmp gost cryptodev aesni
+ cloudhsm}
engines.each { |name|
OpenSSL.check_func_or_macro("ENGINE_load_#{name}", "openssl/engine.h")
}