commit | eca7172c3c263affcdb881272b56fb7811cc9505 | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Sun Sep 27 02:14:29 2015 -0700 |
committer | Benjamin Peterson <benjamin@python.org> | Sun Sep 27 02:14:29 2015 -0700 |
tree | 274c3319c233890b39c3ac49b0d8e68b20488c8f | |
parent | bb6c1c5a7e21d6f10ba065c319c352be2852a5b8 [diff] | |
parent | a18bd0e0f0dc4ad8dd52c4c39fec730dbd283cc5 [diff] |
merge 3.5
diff --git a/Modules/_hashopenssl.c b/Modules/_hashopenssl.c index a157fbb..8ccc243 100644 --- a/Modules/_hashopenssl.c +++ b/Modules/_hashopenssl.c
@@ -486,8 +486,8 @@ HMAC_CTX_cleanup(&hctx_tpl); return 0; } - while(tkeylen) { - if(tkeylen > mdlen) + while (tkeylen) { + if (tkeylen > mdlen) cplen = mdlen; else cplen = tkeylen;