From 13b33a2163ed52d4683f3901ed1f90ad93aa8474 Mon Sep 17 00:00:00 2001 From: Kazuki Yamaguchi Date: Wed, 20 Apr 2016 13:13:45 +0900 Subject: ext/openssl: use EVP_CIPHER_CTX_{new,free} to allocate EVP_CIPHER_CTX EVP_CIPHER_CTX was made opaque in OpenSSL 1.1.0 --- ext/openssl/extconf.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ext/openssl/extconf.rb') diff --git a/ext/openssl/extconf.rb b/ext/openssl/extconf.rb index f2222c027f..b9b5ad61fb 100644 --- a/ext/openssl/extconf.rb +++ b/ext/openssl/extconf.rb @@ -74,6 +74,9 @@ engines.each { |name| have_func("ENGINE_load_#{name}", ["openssl/engine.h"]) } +# added in 0.9.8X +have_func("EVP_CIPHER_CTX_new") +have_func("EVP_CIPHER_CTX_free") have_func("SSL_CTX_clear_options", ["openssl/ssl.h"]) have_func("HMAC_CTX_copy") -- cgit v1.2.3