Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions src/internal.c
Original file line number Diff line number Diff line change
Expand Up @@ -38025,6 +38025,17 @@ static int AddPSKtoPreMasterSecret(WOLFSSL* ssl)
word16 i;
word16 j;

if (outSuites == NULL) {
WOLFSSL_MSG("refineSuites called with NULL outSuites");
return;
}

if (sslSuites == NULL || peerSuites == NULL) {
WOLFSSL_MSG("refineSuites called with NULL suite list");
outSuites->suiteSz = 0;
return;
}

XMEMSET(suites, 0, sizeof(suites));

if (!useClientOrder) {
Expand Down
Loading