1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* ext/openssl/ossl_pkcs5.c (ossl_pkcs5_pbkdf2_hmac): Fix the type

of md; pointed out by Takahiro Kambe <taca at back-street.net>
  in [ruby-dev:34748].


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16478 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
knu 2008-05-19 09:27:55 +00:00
parent 44cd8e457b
commit 3c95aacfcb
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
Mon May 19 18:22:35 2008 Akinori MUSHA <knu@iDaemons.org>
* ext/openssl/ossl_pkcs5.c (ossl_pkcs5_pbkdf2_hmac): Fix the type
of md; pointed out by Takahiro Kambe <taca at back-street.net>
in [ruby-dev:34748].
Mon May 19 17:23:55 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
* regparse.c (PINC): use optimized enclen() instead of

View file

@ -27,7 +27,7 @@ ossl_pkcs5_pbkdf2_hmac(VALUE self, VALUE pass, VALUE salt, VALUE iter, VALUE key
{
#ifdef HAVE_PKCS5_PBKDF2_HMAC
VALUE str;
const EVP_MD md;
const EVP_MD *md;
int len = NUM2INT(keylen);
StringValue(pass);