ec/curve448/f_generic.c: fix VC-WIN32 debug build failure.
authorAndy Polyakov <appro@openssl.org>
Fri, 2 Mar 2018 21:16:29 +0000 (22:16 +0100)
committerAndy Polyakov <appro@openssl.org>
Sat, 3 Mar 2018 21:03:44 +0000 (22:03 +0100)
commit9cbcea7e68f0e805109d7d253c31f02ba37b3b2b
tree117037759ac91a2c17883d865a9ed55efeeff6a8
parent3ccbc5fff7904b2ac0858fb64fd3978e97fd2924
ec/curve448/f_generic.c: fix VC-WIN32 debug build failure.

Debugging asserts had implicit casts that triggered the warnings.
However, instead of making the casts explicit it's more appropriate
to perform checks that ensure that implicit casts were safe.

ec/curve448/scalar.c: size_t-fy scalar_decode_short.

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5494)
crypto/ec/curve448/f_generic.c
crypto/ec/curve448/scalar.c