From 2609fa9aeba385907f4cd11ec936f6a1661a024b Mon Sep 17 00:00:00 2001 From: Daniel Pouzzner Date: Wed, 9 Sep 2020 14:50:50 -0500 Subject: [PATCH] test.c:rsa_test(): fix cpp gating for clearing of keypub buffer. --- wolfcrypt/test/test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wolfcrypt/test/test.c b/wolfcrypt/test/test.c index 2c46afc4c..0dd30e5bb 100644 --- a/wolfcrypt/test/test.c +++ b/wolfcrypt/test/test.c @@ -13183,7 +13183,7 @@ static int rsa_test(void) /* initialize stack structures */ XMEMSET(&rng, 0, sizeof(rng)); XMEMSET(key, 0, sizeof *key); -#ifdef WOLFSSL_CERT_EXT +#if defined(WOLFSSL_CERT_EXT) || defined(WOLFSSL_CERT_GEN) XMEMSET(keypub, 0, sizeof *keypub); #endif #if defined(HAVE_NTRU)