Fix the return type of felem_is_zero_int which should be int.
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Mon, 2 Oct 2017 15:24:17 +0000 (17:24 +0200)
committerBernd Edlinger <bernd.edlinger@hotmail.de>
Mon, 2 Oct 2017 15:27:47 +0000 (17:27 +0200)
commite4c2e4cb69224051fda663e52e48c00b2ca8f60f
treebecf414424ce30f1dfeca2a302341cf13d0a0ac9
parentf9cbf470180841966338db1f4c28d99ec4debec4
Fix the return type of felem_is_zero_int which should be int.
Change argument type of xxxelem_is_zero_int to const void*
to avoid the need of type casts.

Fixes #4413

Reviewed-by: Andy Polyakov <appro@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4450)

(cherry picked from commit c55b786a8911cef41f890735ba5fde79e116e055)
crypto/ec/ecp_nistp224.c
crypto/ec/ecp_nistp256.c
crypto/ec/ecp_nistp521.c