diff options
author | Kazuki Yamaguchi <k@rhe.jp> | 2020-02-16 11:20:08 +0000 |
---|---|---|
committer | Kazuki Yamaguchi <k@rhe.jp> | 2020-02-16 11:20:08 +0000 |
commit | b926877f80e7490447b78da6055285598194f42e (patch) | |
tree | 2f9124c1d401d36041ab8f94eeb4b64c7e163d5d /ext/openssl/extconf.rb | |
parent | cecc89aa844ede0cdc2f40be340789cb4b9c73b3 (diff) | |
download | ruby-openssl-b926877f80e7490447b78da6055285598194f42e.tar.gz |
random: make OpenSSL::Random.pseudo_bytes alias of .random_bytes
The default implementation of RAND_pseudo_bytes() uses the same routine
as RAND_bytes().
Note that OpenSSL::Random.pseudo_bytes has been available only when it
is compiled with EOL versions of OpenSSL.
Diffstat (limited to 'ext/openssl/extconf.rb')
-rw-r--r-- | ext/openssl/extconf.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/openssl/extconf.rb b/ext/openssl/extconf.rb index 344d7596..a60c6af6 100644 --- a/ext/openssl/extconf.rb +++ b/ext/openssl/extconf.rb @@ -148,7 +148,6 @@ have_func("EVP_MD_CTX_new") have_func("EVP_MD_CTX_free") have_func("HMAC_CTX_new") have_func("HMAC_CTX_free") -OpenSSL.check_func("RAND_pseudo_bytes", "openssl/rand.h") # deprecated have_func("X509_STORE_get_ex_data") have_func("X509_STORE_set_ex_data") have_func("X509_STORE_get_ex_new_index") |