Fix potentially uninitialized variables in Dtls13SetRecordNumberKeys.

pull/5327/head
Kareem 2022-07-06 13:42:57 -07:00
parent c8f5bd3d61
commit 44a49aeefa
1 changed files with 1 additions and 1 deletions

View File

@ -1969,7 +1969,7 @@ int Dtls13SetRecordNumberKeys(WOLFSSL* ssl, enum encrypt_side side)
{
RecordNumberCiphers* enc = NULL;
RecordNumberCiphers* dec = NULL;
byte *encKey, *decKey;
byte *encKey = NULL, *decKey = NULL;
int ret;
if (ssl == NULL) {