Skip to content

Commit 3a793e0

Browse files
committed
Fall-through for 0RTT
1 parent 6b23589 commit 3a793e0

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

ssl/statem/statem_srvr.c

+2-5
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,9 @@ static int ossl_statem_server13_read_transition(SSL *s, int mt)
7272
return 1;
7373
}
7474
break;
75-
} else if (s->ext.early_data == SSL_EARLY_DATA_ACCEPTED) {
75+
} else if (s->ext.early_data == SSL_EARLY_DATA_ACCEPTED
76+
&& !SSL_IS_QUIC(s)) {
7677
if (mt == SSL3_MT_END_OF_EARLY_DATA) {
77-
#ifndef OPENSSL_NO_QUIC
78-
if (s->quic_method != NULL)
79-
return 0;
80-
#endif
8178
st->hand_state = TLS_ST_SR_END_OF_EARLY_DATA;
8279
return 1;
8380
}

0 commit comments

Comments
 (0)