Fix an mis-matched function code so that "make update" doesn't fail
authorMatt Caswell <matt@openssl.org>
Thu, 29 Sep 2016 14:32:35 +0000 (15:32 +0100)
committerMatt Caswell <matt@openssl.org>
Thu, 29 Sep 2016 14:32:35 +0000 (15:32 +0100)
Reviewed-by: Rich Salz <rsalz@openssl.org>
ssl/statem/statem_srvr.c

index 3c3544c..b9eb634 100644 (file)
@@ -1610,7 +1610,7 @@ int tls_construct_server_key_exchange(SSL *s)
             || !ssl_set_handshake_header2(s, &pkt,
                                           SSL3_MT_SERVER_KEY_EXCHANGE)
             || !WPACKET_get_total_written(&pkt, &paramoffset)) {
-        SSLerr(SSL_F_TLS_CONSTRUCT_SERVER_HELLO, ERR_R_INTERNAL_ERROR);
+        SSLerr(SSL_F_TLS_CONSTRUCT_SERVER_KEY_EXCHANGE, ERR_R_INTERNAL_ERROR);
         goto f_err;
     }