Skip to content

Commit

Permalink
Fall-through for 0RTT
Browse files Browse the repository at this point in the history
  • Loading branch information
tmshort committed Apr 13, 2020
1 parent 6b23589 commit 3a793e0
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions ssl/statem/statem_srvr.c
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,9 @@ static int ossl_statem_server13_read_transition(SSL *s, int mt)
return 1;
}
break;
} else if (s->ext.early_data == SSL_EARLY_DATA_ACCEPTED) {
} else if (s->ext.early_data == SSL_EARLY_DATA_ACCEPTED
&& !SSL_IS_QUIC(s)) {
if (mt == SSL3_MT_END_OF_EARLY_DATA) {
#ifndef OPENSSL_NO_QUIC
if (s->quic_method != NULL)
return 0;
#endif
st->hand_state = TLS_ST_SR_END_OF_EARLY_DATA;
return 1;
}
Expand Down

0 comments on commit 3a793e0

Please sign in to comment.