diff options
author | Eric Wong <e@80x24.org> | 2016-06-10 10:18:13 +0000 |
---|---|---|
committer | Kazuki Yamaguchi <k@rhe.jp> | 2016-06-11 11:37:48 +0900 |
commit | b95b2da23bed6b69cfbb1b75f0e6db73616533d4 (patch) | |
tree | 12b2f2718f48b9bc516612dccf63d0284e656607 /ext/openssl/extconf.rb | |
parent | 0cfe60ecebea5808c8d97f3c98227c37d327d67d (diff) | |
download | ruby-topic/read-ahead.tar.gz |
openssl: enable SSLContext read_ahead accessortopic/read-ahead
Diffstat (limited to 'ext/openssl/extconf.rb')
-rw-r--r-- | ext/openssl/extconf.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/openssl/extconf.rb b/ext/openssl/extconf.rb index ad92a287a6..b01ef73f3a 100644 --- a/ext/openssl/extconf.rb +++ b/ext/openssl/extconf.rb @@ -84,6 +84,9 @@ engines.each { |name| OpenSSL.check_func_or_macro("ENGINE_load_#{name}", "openssl/engine.h") } +OpenSSL.check_func_or_macro("SSL_CTX_set_read_ahead", "openssl/ssl.h") +OpenSSL.check_func_or_macro("SSL_CTX_get_read_ahead", "openssl/ssl.h") + # added in 0.9.8X have_func("EVP_CIPHER_CTX_new") have_func("EVP_CIPHER_CTX_free") |