Expose SSLContext.SSL as an alias for SSLContext.TLS

SSL was removed with SSLv3 however a lot of callers use
SSL instead of Default leading to breakage.

Test: libcore/run-libcore-tests
libcore/luni/src/test/java/libcore/javax/net/ssl/*
Bug:32584776
Bug:30977793

Change-Id: I7ce48488a28e2c62bb0c2a76261a11fbd5bb9da7
(cherry picked from commit 3f3b9c8292773841760263f410b74ed0ab7aae6b)
diff --git a/luni/src/test/java/libcore/javax/net/ssl/SSLContextTest.java b/luni/src/test/java/libcore/javax/net/ssl/SSLContextTest.java
index 1a2b4f5..9c8fe91 100644
--- a/luni/src/test/java/libcore/javax/net/ssl/SSLContextTest.java
+++ b/luni/src/test/java/libcore/javax/net/ssl/SSLContextTest.java
@@ -588,12 +588,6 @@
             fail("SSLv3 should not be supported");
         } catch (NoSuchAlgorithmException expected) {
         }
-
-        try {
-            SSLContext context = SSLContext.getInstance("SSL");
-            fail("SSL should not be supported");
-        } catch (NoSuchAlgorithmException expected) {
-        }
     }
 
     private static void assertContentsInOrder(List<String> expected, String... actual) {
diff --git a/support/src/test/java/libcore/java/security/StandardNames.java b/support/src/test/java/libcore/java/security/StandardNames.java
index b4bffc1..c959b69 100644
--- a/support/src/test/java/libcore/java/security/StandardNames.java
+++ b/support/src/test/java/libcore/java/security/StandardNames.java
@@ -614,6 +614,7 @@
             provideSslContextEnabledProtocols("TLSv1.2", TLSVersion.SSLv3, TLSVersion.TLSv12);
             provideSslContextEnabledProtocols("Default", TLSVersion.SSLv3, TLSVersion.TLSv1);
         } else {
+            provideSslContextEnabledProtocols("SSL", TLSVersion.TLSv1, TLSVersion.TLSv12);
             provideSslContextEnabledProtocols("TLS", TLSVersion.TLSv1, TLSVersion.TLSv12);
             provideSslContextEnabledProtocols("TLSv1", TLSVersion.TLSv1, TLSVersion.TLSv12);
             provideSslContextEnabledProtocols("TLSv1.1", TLSVersion.TLSv1, TLSVersion.TLSv12);
@@ -625,6 +626,7 @@
     public static final String SSL_CONTEXT_PROTOCOLS_DEFAULT = "Default";
     public static final Set<String> SSL_CONTEXT_PROTOCOLS = new HashSet<String>(Arrays.asList(
         SSL_CONTEXT_PROTOCOLS_DEFAULT,
+        "SSL",
         "TLS",
         "TLSv1",
         "TLSv1.1",