Skip to content

Commit 2f2d5b3

Browse files
committed
Fix undeclared var use in sniffer
1 parent d54f5e7 commit 2f2d5b3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/sniffer.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7349,8 +7349,8 @@ static int addSecretNode(unsigned char* clientRandom,
73497349

73507350
XMEMCPY(node->clientRandom, clientRandom, CLIENT_RANDOM_LENGTH);
73517351
XMEMCPY(node->secrets[type], secret, SECRET_LENGTH);
7352-
node->next = secretHashTable[index];
7353-
secretHashTable[index] = node;
7352+
node->next = secretHashTable[idx];
7353+
secretHashTable[idx] = node;
73547354

73557355
unlockReturn:
73567356

0 commit comments

Comments
 (0)