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: Ic5c8a721d79d52eb02bdc811c07616db078c02d8

(cherry picked from commit 4b53254086bfce3801e056f32832e26aca0abd7e)
diff --git a/common/src/main/java/org/conscrypt/OpenSSLProvider.java b/common/src/main/java/org/conscrypt/OpenSSLProvider.java
index e77ad01..d58cff7 100644
--- a/common/src/main/java/org/conscrypt/OpenSSLProvider.java
+++ b/common/src/main/java/org/conscrypt/OpenSSLProvider.java
@@ -55,6 +55,8 @@
         /* === SSL Contexts === */
         final String classOpenSSLContextImpl = PREFIX + "OpenSSLContextImpl";
         final String tls12SSLContext = classOpenSSLContextImpl + "$TLSv12";
+        // Keep SSL as an alias to TLS
+        put("SSLContext.SSL", tls12SSLContext);
         put("SSLContext.TLS", tls12SSLContext);
         put("SSLContext.TLSv1", classOpenSSLContextImpl + "$TLSv1");
         put("SSLContext.TLSv1.1", classOpenSSLContextImpl + "$TLSv11");