diff options
Diffstat (limited to 'ext/openssl/ossl_pkcs5.c')
-rw-r--r-- | ext/openssl/ossl_pkcs5.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/ext/openssl/ossl_pkcs5.c b/ext/openssl/ossl_pkcs5.c index 47c5bfa3..7811c5fe 100644 --- a/ext/openssl/ossl_pkcs5.c +++ b/ext/openssl/ossl_pkcs5.c @@ -6,7 +6,6 @@ VALUE mPKCS5; VALUE ePKCS5; -#ifdef HAVE_PKCS5_PBKDF2_HMAC /* * call-seq: * PKCS5.pbkdf2_hmac(pass, salt, iter, keylen, digest) => string @@ -18,8 +17,6 @@ VALUE ePKCS5; * * +keylen+ - integer * * +digest+ - a string or OpenSSL::Digest object. * - * Available in OpenSSL >= 1.0.0. - * * Digests other than SHA1 may not be supported by other cryptography libraries. */ static VALUE @@ -43,10 +40,6 @@ ossl_pkcs5_pbkdf2_hmac(VALUE self, VALUE pass, VALUE salt, VALUE iter, VALUE key return str; } -#else -#define ossl_pkcs5_pbkdf2_hmac rb_f_notimplement -#endif - /* * call-seq: @@ -99,8 +92,7 @@ Init_ossl_pkcs5(void) * slowed down artificially in order to render possible attacks infeasible. * * PKCS5 offers support for PBKDF2 with an OpenSSL::Digest::SHA1-based - * HMAC, or an arbitrary Digest if the underlying version of OpenSSL - * already supports it (>= 1.0.0). + * HMAC, or an arbitrary Digest. * * === Parameters * ==== Password |