merge 3.5

This commit is contained in:
Benjamin Peterson 2015-09-27 02:14:29 -07:00
commit eca7172c3c

View file

@ -486,8 +486,8 @@ PKCS5_PBKDF2_HMAC_fast(const char *pass, int passlen,
HMAC_CTX_cleanup(&hctx_tpl); HMAC_CTX_cleanup(&hctx_tpl);
return 0; return 0;
} }
while(tkeylen) { while (tkeylen) {
if(tkeylen > mdlen) if (tkeylen > mdlen)
cplen = mdlen; cplen = mdlen;
else else
cplen = tkeylen; cplen = tkeylen;