summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjulien.pierre.bugs%sun.com <devnull@localhost>2006-09-25 20:48:48 +0000
committerjulien.pierre.bugs%sun.com <devnull@localhost>2006-09-25 20:48:48 +0000
commit9e22291069810358c7ae6e88dcd799c2c3eacb55 (patch)
treea8cf62395ffef1d5ce06aab854f2700c15f40b50
parent818a1554fa8da6e7dc02629c3f0693c2101a3890 (diff)
parentc99587b85269448d165b9e6042efd68c57d8a8e4 (diff)
downloadnss-hg-9e22291069810358c7ae6e88dcd799c2c3eacb55.tar.gz
Fix for bug 353896 . Assert at compile time if NSS_ECC_MORE_THAN_SUITE_B is not set. For NSS_3_11_1_BRANCH only. r=nelson, alexeiNSS_3_11_1_BRANCH
-rw-r--r--security/nss/lib/freebl/ecl/ecl-curve.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/security/nss/lib/freebl/ecl/ecl-curve.h b/security/nss/lib/freebl/ecl/ecl-curve.h
index cba22b2a7..36bc993b6 100644
--- a/security/nss/lib/freebl/ecl/ecl-curve.h
+++ b/security/nss/lib/freebl/ecl/ecl-curve.h
@@ -42,6 +42,10 @@
#ifndef __ecl_curve_h_
#define __ecl_curve_h_
+#ifndef NSS_ECC_MORE_THAN_SUITE_B
+#error This source file is for Extended ECC only .
+#endif
+
/* NIST prime curves */
static const ECCurveParams ecCurve_NIST_P192 = {
"NIST-P192", ECField_GFp, 192,