aboutsummaryrefslogtreecommitdiffstats
path: root/ssl
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2017-02-16 17:09:28 +0000
committerMatt Caswell <matt@openssl.org>2017-02-17 10:28:01 +0000
commita9998e2f67046d3f778d3c9d578ea56e183a638b (patch)
tree28cedfe5d3a3461596563b45f9ae46a9d01e4e5d /ssl
parent4fbfe86ae3c5a829ea1a259330921bd5549223a5 (diff)
downloadopenssl-a9998e2f67046d3f778d3c9d578ea56e183a638b.tar.gz
Updates following review feedback
Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/2609)
Diffstat (limited to 'ssl')
-rw-r--r--ssl/ssl_lib.c2
-rw-r--r--ssl/statem/statem_clnt.c1
-rw-r--r--ssl/statem/statem_srvr.c1
3 files changed, 1 insertions, 3 deletions
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;