Fix typo in the definition of tls13_ciphers
authorMatt Caswell <matt@openssl.org>
Thu, 26 Apr 2018 13:20:59 +0000 (14:20 +0100)
committerMatt Caswell <matt@openssl.org>
Thu, 26 Apr 2018 15:35:12 +0000 (16:35 +0100)
SSL_kANY, and SSL_aANY were placed in the wrong fields. It makes no
functional difference since these macros evaluate to 0 anyway, which is
the correct value for these fields.

Fixes #6048

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6095)

ssl/s3_lib.c

index 619326949c47bc2a8c5d4c8ec680cc748a9d8106..f79749724f9156fccb8f39fb00ef02e46ab2d890 100644 (file)
@@ -37,12 +37,12 @@ static SSL_CIPHER tls13_ciphers[] = {
         TLS1_3_RFC_AES_128_GCM_SHA256,
         TLS1_3_RFC_AES_128_GCM_SHA256,
         TLS1_3_CK_AES_128_GCM_SHA256,
         TLS1_3_RFC_AES_128_GCM_SHA256,
         TLS1_3_RFC_AES_128_GCM_SHA256,
         TLS1_3_CK_AES_128_GCM_SHA256,
-        0, 0,
+        SSL_kANY,
+        SSL_aANY,
         SSL_AES128GCM,
         SSL_AEAD,
         TLS1_3_VERSION, TLS1_3_VERSION,
         SSL_AES128GCM,
         SSL_AEAD,
         TLS1_3_VERSION, TLS1_3_VERSION,
-        SSL_kANY,
-        SSL_aANY,
+        0, 0,
         SSL_HIGH,
         SSL_HANDSHAKE_MAC_SHA256,
         128,
         SSL_HIGH,
         SSL_HANDSHAKE_MAC_SHA256,
         128,