diff options
author | Kyle Oliveira <kcoliveira@ucdavis.edu> | 2018-02-23 08:52:40 -0800 |
---|---|---|
committer | Samuel Williams <samuel.williams@oriontransfer.co.nz> | 2020-01-25 00:31:23 +1300 |
commit | 33ed3ba10424b31c094b08f114452d28abdf5c27 (patch) | |
tree | a356fa01dd27b36c2fe36a1dfe0520376b1f546a /ext | |
parent | 0da0dfaf09f549b2b2cd984627b321b7908d1186 (diff) | |
download | ruby-openssl-33ed3ba10424b31c094b08f114452d28abdf5c27.tar.gz |
Add cloudhsm to ossl_engine.c
to support the CloudHSM OpenSSL library
Diffstat (limited to 'ext')
-rw-r--r-- | ext/openssl/ossl_engine.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/openssl/ossl_engine.c b/ext/openssl/ossl_engine.c index 5ca0d4ca..f90bf061 100644 --- a/ext/openssl/ossl_engine.c +++ b/ext/openssl/ossl_engine.c @@ -150,6 +150,9 @@ ossl_engine_s_load(int argc, VALUE *argv, VALUE klass) #if HAVE_ENGINE_LOAD_AESNI OSSL_ENGINE_LOAD_IF_MATCH(aesni, AESNI); #endif +#if HAVE_ENGINE_LOAD_CLOUDHSM + OSSL_ENGINE_LOAD_IF_MATCH(cloudhsm, CLOUDHSM); +#endif #endif #ifdef HAVE_ENGINE_LOAD_OPENBSD_DEV_CRYPTO OSSL_ENGINE_LOAD_IF_MATCH(openbsd_dev_crypto, OPENBSD_DEV_CRYPTO); |