We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents cc72851 + 5e87b82 commit 9e199f3Copy full SHA for 9e199f3
1 file changed
tests/api.c
@@ -34750,6 +34750,9 @@ static int test_DhAgree_rejects_p_minus_1(void)
34750
};
34751
byte pMinus1[256];
34752
34753
+ XMEMSET(&key, 0, sizeof(DhKey));
34754
+ XMEMSET(&rng, 0, sizeof(WC_RNG));
34755
+
34756
ExpectIntEQ(wc_InitRng(&rng), 0);
34757
ExpectIntEQ(wc_InitDhKey(&key), 0);
34758
ExpectIntEQ(wc_DhSetNamedKey(&key, WC_FFDHE_2048), 0);
0 commit comments