emit "ECDHE" instead of "EECDH" for kX packet trace output
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Thu, 19 Dec 2013 18:55:00 +0000 (13:55 -0500)
committerDr. Stephen Henson <steve@openssl.org>
Thu, 9 Jan 2014 15:43:27 +0000 (15:43 +0000)
other parts of packet tracing emit the standard "ECDHE" label instead
of "EECDH".  This change brings the output of ssl_print_client_keyex()
and ssl_print_server_keyex() into accordance with the standard term.

ssl/t1_trce.c

index 6856898fbf087489946f66af8a949989e0032380..751e0fff5c23fed8b7e1a109a5f717326373e596 100644 (file)
@@ -817,7 +817,7 @@ static int ssl_get_keyex(const char **pname, SSL *ssl)
                }
        if (alg_k & SSL_kEECDH)
                {
                }
        if (alg_k & SSL_kEECDH)
                {
-               *pname = "EECDH";
+               *pname = "ECDHE";
                return SSL_kEECDH;
                }
        if (alg_k & SSL_kECDHr)
                return SSL_kEECDH;
                }
        if (alg_k & SSL_kECDHr)