openssl/crypto/ec
Matt Caswell cb9f1bc1d1 EC_POINT_is_on_curve does not return a boolean
The function EC_POINT_is_on_curve does not return a boolean value.
It returns 1 if the point is on the curve, 0 if it is not, and -1
on error. Many usages within OpenSSL were incorrectly using this
function and therefore not correctly handling error conditions.

With thanks to the Open Crypto Audit Project for reporting this issue.

Reviewed-by: Kurt Roeckx <kurt@openssl.org>
(cherry picked from commit 68886be7e2)

Conflicts:
	crypto/ec/ec2_oct.c
	crypto/ec/ecp_oct.c
	crypto/ec/ectest.c
2015-06-10 10:57:05 +01:00
..
.cvsignore Add emacs cache files to .cvsignore. 2005-04-11 14:17:07 +00:00
ec.h Re-align some comments after running the reformat script. 2015-01-22 09:46:52 +00:00
ec2_mult.c Run util/openssl-format-source -v -c . 2015-01-22 09:46:18 +00:00
ec2_smpl.c EC_POINT_is_on_curve does not return a boolean 2015-06-10 10:57:05 +01:00
ec_ameth.c Run util/openssl-format-source -v -c . 2015-01-22 09:46:18 +00:00
ec_asn1.c Fix a failure to NULL a pointer freed on error. 2015-03-19 13:00:11 +00:00
ec_check.c EC_POINT_is_on_curve does not return a boolean 2015-06-10 10:57:05 +01:00
ec_curve.c Run util/openssl-format-source -v -c . 2015-01-22 09:46:18 +00:00
ec_cvt.c Run util/openssl-format-source -v -c . 2015-01-22 09:46:18 +00:00
ec_err.c Run util/openssl-format-source -v -c . 2015-01-22 09:46:18 +00:00
ec_key.c EC_POINT_is_on_curve does not return a boolean 2015-06-10 10:57:05 +01:00
ec_lcl.h Re-align some comments after running the reformat script. 2015-01-22 09:46:52 +00:00
ec_lib.c EC_POINT_is_on_curve does not return a boolean 2015-06-10 10:57:05 +01:00
ec_mult.c Re-align some comments after running the reformat script. 2015-01-22 09:46:52 +00:00
ec_pmeth.c Run util/openssl-format-source -v -c . 2015-01-22 09:46:18 +00:00
ec_print.c Run util/openssl-format-source -v -c . 2015-01-22 09:46:18 +00:00
eck_prn.c Run util/openssl-format-source -v -c . 2015-01-22 09:46:18 +00:00
ecp_mont.c Run util/openssl-format-source -v -c . 2015-01-22 09:46:18 +00:00
ecp_nist.c Run util/openssl-format-source -v -c . 2015-01-22 09:46:18 +00:00
ecp_smpl.c EC_POINT_is_on_curve does not return a boolean 2015-06-10 10:57:05 +01:00
ectest.c EC_POINT_is_on_curve does not return a boolean 2015-06-10 10:57:05 +01:00
Makefile Fix the update target and remove duplicate file updates 2015-05-23 11:17:35 +02:00