Address failure when blinding disabled and key not initialized to zero

This commit is contained in:
kaleb-himes
2020-02-11 14:39:30 -07:00
parent d1397656ef
commit 5b7fc7b133

View File

@ -47333,6 +47333,8 @@ WOLFSSL_RSA* wolfSSL_RSA_new(void)
wc_RsaSetRNG(key, rng);
}
#else
XMEMSET(key, 0, sizeof(RsaKey));
#endif /* WC_RSA_BLINDING */
external->internal = key;