OS is darwin
openssl version is 1.0.2
Bug only happens when building the FIPS version of SSL. In t1_lib.c at line
472 the assignment to *pcurveslen should be to pcurveslen instead.
Here is the diff for the fix:
diff -ur openssl-1.0.2/ssl/t1_lib.c openssl-1.0.2_patched/ssl/t1_lib.c
--- openssl-1.0.2/ssl/t1_lib.c 2015-01-22 08:58:32.000000000 -0600
+++ openssl-1.0.2_patched/ssl/t1_lib.c 2015-03-05 16:40:35.000000000 -0600
@@ -470,7 +470,7 @@
# ifdef OPENSSL_FIPS
if (FIPS_mode()) {
*pcurves = fips_curves_default;
- *pcurveslen = sizeof(fips_curves_default);
+ pcurveslen = sizeof(fips_curves_default);
} else
# endif
{
_______________________________________________
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev