Blame SOURCES/pr1834-rh1022017.patch

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