From: Matt Caswell Date: Thu, 16 Feb 2017 17:09:28 +0000 (+0000) Subject: Updates following review feedback X-Git-Tag: OpenSSL_1_1_1-pre1~2353 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a9998e2f67046d3f778d3c9d578ea56e183a638b;p=oweals%2Fopenssl.git Updates following review feedback Reviewed-by: Rich Salz (Merged from https://github.com/openssl/openssl/pull/2609) --- diff --git a/ssl/ssl_lib.c b/ssl/ssl_lib.c index e8274a1c05..48c37b8217 100644 --- a/ssl/ssl_lib.c +++ b/ssl/ssl_lib.c @@ -1721,7 +1721,7 @@ int SSL_shutdown(SSL *s) int SSL_key_update(SSL *s, int updatetype) { /* - * TODO(TLS1.3): How will applications know whether TLSv1.3+ has been + * TODO(TLS1.3): How will applications know whether TLSv1.3 has been * negotiated, and that it is appropriate to call SSL_key_update() instead * of SSL_renegotiate(). */ diff --git a/ssl/statem/statem_clnt.c b/ssl/statem/statem_clnt.c index 88d7608567..9f2e7afd29 100644 --- a/ssl/statem/statem_clnt.c +++ b/ssl/statem/statem_clnt.c @@ -735,7 +735,6 @@ WORK_STATE ossl_statem_client_post_work(SSL *s, WORK_STATE wst) case TLS_ST_CW_KEY_UPDATE: if (statem_flush(s) != 1) return WORK_MORE_A; - if (!tls13_update_key(s, 1)) return WORK_ERROR; break; diff --git a/ssl/statem/statem_srvr.c b/ssl/statem/statem_srvr.c index 8f3841cc84..0037e79d2a 100644 --- a/ssl/statem/statem_srvr.c +++ b/ssl/statem/statem_srvr.c @@ -843,7 +843,6 @@ WORK_STATE ossl_statem_server_post_work(SSL *s, WORK_STATE wst) case TLS_ST_SW_KEY_UPDATE: if (statem_flush(s) != 1) return WORK_MORE_A; - if (!tls13_update_key(s, 1)) return WORK_ERROR; break;