Correct the Id for the TLS1.3 ciphersuite
authorMatt Caswell <matt@openssl.org>
Mon, 7 Nov 2016 13:44:56 +0000 (13:44 +0000)
committerMatt Caswell <matt@openssl.org>
Mon, 7 Nov 2016 15:47:22 +0000 (15:47 +0000)
We have one TLS1.3 ciphersuite, but there is a typo in the id that should
be corrected.

Reviewed-by: Rich Salz <rsalz@openssl.org>
include/openssl/tls1.h
ssl/t1_trce.c

index 3f7e749c694b1b6b344ec5720ff88e3880180297..ba3c413cb06767beeec03af75cc5d246c86ea2c9 100644 (file)
@@ -601,7 +601,7 @@ SSL_CTX_callback_ctrl(ssl,SSL_CTRL_SET_TLSEXT_TICKET_KEY_CB,(void (*)(void))cb)
 # define TLS1_CK_RSA_PSK_WITH_CHACHA20_POLY1305           0x0300CCAE
 
 /* TLS v1.3 ciphersuites */
-# define TLS1_3_CK_AES_128_GCM_SHA256                     0x03000D01
+# define TLS1_3_CK_AES_128_GCM_SHA256                     0x03001301
 
 /*
  * XXX Backward compatibility alert: Older versions of OpenSSL gave some DHE
index ab5d2dac7627382b46c979410ead8d1aab3340af..d8ad10317618e8d21ccd747c021223bb7e4527db 100644 (file)
@@ -423,7 +423,7 @@ static ssl_trace_tbl ssl_ciphers_tbl[] = {
     {0xCCAC, "TLS_ECDHE_PSK_WITH_CHACHA20_POLY1305"},
     {0xCCAD, "TLS_DHE_PSK_WITH_CHACHA20_POLY1305"},
     {0xCCAE, "TLS_RSA_PSK_WITH_CHACHA20_POLY1305"},
-    {0x0D01, "TLS_AES_128_GCM_SHA256"},
+    {0x1301, "TLS_AES_128_GCM_SHA256"},
     {0xFEFE, "SSL_RSA_FIPS_WITH_DES_CBC_SHA"},
     {0xFEFF, "SSL_RSA_FIPS_WITH_3DES_EDE_CBC_SHA"},
 };