From: Matt Caswell Date: Wed, 8 Nov 2017 11:18:00 +0000 (+0000) Subject: Remove TLSv1.3 specific write transition for ClientHello X-Git-Tag: OpenSSL_1_1_1-pre1~292 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=fa9f9350f3d22168ebc53b72ad042b714e4cb691;p=oweals%2Fopenssl.git Remove TLSv1.3 specific write transition for ClientHello Since we no longer do version negotiation during the processing of an HRR we do not need the TLSv1.3 specific write transition for ClientHello Reviewed-by: Ben Kaduk (Merged from https://github.com/openssl/openssl/pull/4701) --- diff --git a/ssl/statem/statem_clnt.c b/ssl/statem/statem_clnt.c index 473da7a730..99ebe22512 100644 --- a/ssl/statem/statem_clnt.c +++ b/ssl/statem/statem_clnt.c @@ -391,10 +391,6 @@ static WRITE_TRAN ossl_statem_client13_write_transition(SSL *s) ERR_R_INTERNAL_ERROR); return WRITE_TRAN_ERROR; - case TLS_ST_CW_CLNT_HELLO: - /* We only hit this in the case of HelloRetryRequest */ - return WRITE_TRAN_FINISHED; - case TLS_ST_CR_FINISHED: if (s->early_data_state == SSL_EARLY_DATA_WRITE_RETRY || s->early_data_state == SSL_EARLY_DATA_FINISHED_WRITING)