diff options
author | Kazuki Yamaguchi <k@rhe.jp> | 2016-04-27 13:43:58 +0900 |
---|---|---|
committer | Kazuki Yamaguchi <k@rhe.jp> | 2016-05-05 18:43:53 +0900 |
commit | 67700610044b2bb49dcef4ed4c6bd4878bf7a49f (patch) | |
tree | 66781fb0961a0b3e44ac567900b2325f4eb8b856 /ext | |
parent | 692d93db9c6cd8dc27e3fff13b06fe30a5e2b33f (diff) | |
download | ruby-67700610044b2bb49dcef4ed4c6bd4878bf7a49f.tar.gz |
ext/openssl: ENGINE.cleanup is no-op in OpenSSL 1.1.0
Add note to the documentation, and fix tests which rely on
Engine.cleanup. Test cases are now run in separate process.
Diffstat (limited to 'ext')
-rw-r--r-- | ext/openssl/ossl_engine.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/openssl/ossl_engine.c b/ext/openssl/ossl_engine.c index 06c2867c2f..2f48843b01 100644 --- a/ext/openssl/ossl_engine.c +++ b/ext/openssl/ossl_engine.c @@ -160,6 +160,8 @@ ossl_engine_s_load(int argc, VALUE *argv, VALUE klass) * It is only necessary to run cleanup when engines are loaded via * OpenSSL::Engine.load. However, running cleanup before exit is recommended. * + * Note that this method is no-op if using OpenSSL 1.1.0 or newer. + * * See also, https://www.openssl.org/docs/crypto/engine.html */ static VALUE |