diff options
author | Kazuki Yamaguchi <k@rhe.jp> | 2016-04-20 02:11:14 +0900 |
---|---|---|
committer | Kazuki Yamaguchi <k@rhe.jp> | 2016-04-27 23:07:41 +0900 |
commit | 4c726635566caf0772f253baeb7b1b86b1711c8f (patch) | |
tree | cf4ca8bb9f3d6669049a3a9f9e0d33b3bdfe2acb /ext/openssl/extconf.rb | |
parent | 8e9419ba692c7c46ee80241571015f2069b7e47b (diff) | |
download | ruby-4c726635566caf0772f253baeb7b1b86b1711c8f.tar.gz |
ext/openssl: disable OpenSSL::Random.pseudo_bytes if deprecated
Diffstat (limited to 'ext/openssl/extconf.rb')
-rw-r--r-- | ext/openssl/extconf.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/openssl/extconf.rb b/ext/openssl/extconf.rb index 7ecb6a7599..f2222c027f 100644 --- a/ext/openssl/extconf.rb +++ b/ext/openssl/extconf.rb @@ -95,6 +95,7 @@ have_func("SSL_CTX_set_alpn_select_cb") have_func("SSL_get_server_tmp_key", ["openssl/ssl.h"]) # added in 1.1.0 +have_func("RAND_pseudo_bytes", ["openssl/rand.h"], "-Werror=deprecated-declarations") have_func("X509_STORE_get_ex_data") have_func("X509_STORE_set_ex_data") |