Merge pull request #2793 from kaleb-himes/ZD9865

Fix issue in wolfSSL_EVP_PKEY_assign_RSA when RSA key not zeroized
This commit is contained in:
JacobBarthelmeh
2020-02-14 16:40:52 -07:00
committed by GitHub

View File

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