Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2609)
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().
*/
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;
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;