Updates following review feedback
Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/2609)
This commit is contained in:
parent
4fbfe86ae3
commit
a9998e2f67
3 changed files with 1 additions and 3 deletions
|
@ -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().
|
||||
*/
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue