Blame SOURCES/pr1834-rh1022017.patch

b13a06
diff --git a/src/share/classes/sun/security/ssl/EllipticCurvesExtension.java b/src/share/classes/sun/security/ssl/EllipticCurvesExtension.java
b13a06
--- openjdk/jdk/src/share/classes/sun/security/ssl/EllipticCurvesExtension.java
b13a06
+++ openjdk/jdk/src/share/classes/sun/security/ssl/EllipticCurvesExtension.java
045ef6
@@ -168,20 +168,10 @@
045ef6
                     "contains no supported elliptic curves");
045ef6
             }
045ef6
         } else {        // default curves
045ef6
-            int[] ids;
045ef6
-            if (requireFips) {
045ef6
-                ids = new int[] {
045ef6
-                    // only NIST curves in FIPS mode
045ef6
-                    23, 24, 25, 9, 10, 11, 12, 13, 14,
045ef6
-                };
045ef6
-            } else {
045ef6
-                ids = new int[] {
045ef6
-                    // NIST curves first
045ef6
-                    23, 24, 25, 9, 10, 11, 12, 13, 14,
045ef6
-                    // non-NIST curves
045ef6
-                    22,
045ef6
-                };
045ef6
-            }
045ef6
+            int[] ids = new int[] { 
045ef6
+		// NSS currently only supports these three NIST curves
045ef6
+		23, 24, 25
045ef6
+	    };
045ef6
 
045ef6
             idList = new ArrayList<>(ids.length);
045ef6
             for (int curveId : ids) {