diff --git a/wolfcrypt/test/test.c b/wolfcrypt/test/test.c index 0a3a6d152..4058986f5 100644 --- a/wolfcrypt/test/test.c +++ b/wolfcrypt/test/test.c @@ -13061,6 +13061,7 @@ int dh_test(void) /* Test Check Key */ ret = wc_DhSetCheckKey(&key, dh_p, sizeof(dh_p), dh_g, sizeof(dh_g), NULL, 0, 0, &rng); + keyInit = 1; /* DhSetCheckKey also initializes the key, free it */ } #endif