File tree Expand file tree Collapse file tree 2 files changed +21
-2
lines changed
Expand file tree Collapse file tree 2 files changed +21
-2
lines changed Original file line number Diff line number Diff line change @@ -1362,12 +1362,22 @@ QuicTlsProcessData(
13621362 _Inout_ QUIC_TLS_PROCESS_STATE * State
13631363 )
13641364{
1365- UNREFERENCED_PARAMETER (DataType );
13661365 int Ret = 0 ;
13671366 int Err = 0 ;
13681367
13691368 QUIC_DBG_ASSERT (Buffer != NULL || * BufferLength == 0 );
13701369
1370+ if (DataType == QUIC_TLS_TICKET_DATA ) {
1371+ TlsContext -> ResultFlags = QUIC_TLS_RESULT_ERROR ;
1372+
1373+ QuicTraceLogConnVerbose (
1374+ OpenSslProcessData ,
1375+ TlsContext -> Connection ,
1376+ "Ignoring %u ticket bytes" ,
1377+ * BufferLength );
1378+ goto Exit ;
1379+ }
1380+
13711381 if (* BufferLength != 0 ) {
13721382 QuicTraceLogConnVerbose (
13731383 OpenSslProcessData ,
Original file line number Diff line number Diff line change @@ -2188,8 +2188,17 @@ QuicTlsProcessData(
21882188 _Inout_ QUIC_TLS_PROCESS_STATE * State
21892189 )
21902190{
2191- UNREFERENCED_PARAMETER (DataType );
21922191 QUIC_TLS_RESULT_FLAGS Result = 0 ;
2192+ if (DataType == QUIC_TLS_TICKET_DATA ) {
2193+ Result = QUIC_TLS_RESULT_ERROR ;
2194+
2195+ QuicTraceLogConnVerbose (
2196+ SchannelProcessingData ,
2197+ TlsContext -> Connection ,
2198+ "Ignoring %u ticket bytes" ,
2199+ * BufferLength );
2200+ goto Error ;
2201+ }
21932202
21942203 QuicTraceLogConnVerbose (
21952204 SchannelProcessingData ,
You can’t perform that action at this time.
0 commit comments