forked from wolfSSL/wolfssl
test.c:rsa_test(): fix cpp gating for clearing of keypub buffer.
This commit is contained in:
@@ -13183,7 +13183,7 @@ static int rsa_test(void)
|
|||||||
/* initialize stack structures */
|
/* initialize stack structures */
|
||||||
XMEMSET(&rng, 0, sizeof(rng));
|
XMEMSET(&rng, 0, sizeof(rng));
|
||||||
XMEMSET(key, 0, sizeof *key);
|
XMEMSET(key, 0, sizeof *key);
|
||||||
#ifdef WOLFSSL_CERT_EXT
|
#if defined(WOLFSSL_CERT_EXT) || defined(WOLFSSL_CERT_GEN)
|
||||||
XMEMSET(keypub, 0, sizeof *keypub);
|
XMEMSET(keypub, 0, sizeof *keypub);
|
||||||
#endif
|
#endif
|
||||||
#if defined(HAVE_NTRU)
|
#if defined(HAVE_NTRU)
|
||||||
|
Reference in New Issue
Block a user