evp/pbe_scrypt.c: add boundary condition for implicit cast.
authorAndy Polyakov <appro@openssl.org>
Sat, 11 Nov 2017 21:15:33 +0000 (22:15 +0100)
committerAndy Polyakov <appro@openssl.org>
Mon, 13 Nov 2017 09:58:14 +0000 (10:58 +0100)
commitb4c0e4dff6c84a3cdf464587923eaa0f789168b8
tree50c086907a976fb4cc65198e9d150c48bc816928
parent372463103917fcc2b68bd2ba3db55b29ce325705
evp/pbe_scrypt.c: add boundary condition for implicit cast.

Even though |Blen| is declared uint64_t it was casted implicitly to int.
[Caught by VC warning subsytem.]

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4721)
crypto/evp/pbe_scrypt.c