Add "TLSv1.0" cipher alias.
authorDr. Stephen Henson <steve@openssl.org>
Fri, 13 Nov 2015 14:43:27 +0000 (14:43 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Sat, 14 Nov 2015 00:06:33 +0000 (00:06 +0000)
This adds a TLSv1.0 cipher alias for ciphersuites requiring
at least TLSv1.0: currently only PSK ciphersuites using SHA256
or SHA384 MAC (SSLv3 only supports SHA1 and MD5 MAC).

Reviewed-by: Matt Caswell <matt@openssl.org>
ssl/ssl_ciph.c

index e386577e6520f35c880f1f72871dded64cdfe3ec..580178e0854f35d2a8566cc2e8574c58f2fad391 100644 (file)
@@ -390,6 +390,7 @@ static const SSL_CIPHER cipher_aliases[] = {
     /* protocol version aliases */
     {0, SSL_TXT_SSLV3, 0, 0, 0, 0, 0, SSL_SSLV3, 0, 0, 0, 0},
     {0, SSL_TXT_TLSV1, 0, 0, 0, 0, 0, SSL_SSLV3, 0, 0, 0, 0},
+    {0, "TLSv1.0", 0, 0, 0, 0, 0, SSL_TLSV1, 0, 0, 0, 0},
     {0, SSL_TXT_TLSV1_2, 0, 0, 0, 0, 0, SSL_TLSV1_2, 0, 0, 0, 0},
 
     /* export flag */