Blame SOURCES/rh1022017.patch

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