Fix BN_is_prime* calls.
authorDavid Benjamin <davidben@google.com>
Fri, 24 Jun 2016 15:05:48 +0000 (11:05 -0400)
committerKurt Roeckx <kurt@roeckx.be>
Sat, 25 Jun 2016 09:01:30 +0000 (11:01 +0200)
commit748e85308ef4f3e672975b3604ea2d76424fa404
tree4aae2407243c51b4a4fb490f1d48b4a31e8c5ad9
parentf08c8c1a195a29652c956f43eb9e0d97f6094b6f
Fix BN_is_prime* calls.

This function returns a tri-state -1 on error. See BoringSSL's
53409ee3d7595ed37da472bc73b010cd2c8a5ffd.

Signed-off-by: Kurt Roeckx <kurt@roeckx.be>
Reviewed-by: Rich Salz <rsalz@openssl.org>
GH: #1251
apps/s_client.c
crypto/bn/bn_x931p.c
crypto/dh/dh_check.c