Blame SOURCES/rh1022017.patch

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