In the RSA PCT, initialize the plain output pointer.

This commit is contained in:
John Safranek
2021-04-16 12:08:29 -07:00
parent 6bb50db271
commit f91af1a588

View File

@ -618,6 +618,7 @@ static int _ifc_pairwise_consistency_test(RsaKey* key, WC_RNG* rng)
return MEMORY_E;
}
XMEMSET(sig, 0, sigLen);
plain = sig;
ret = wc_RsaSSL_Sign((const byte*)msg, msgLen, sig, sigLen, key, rng);
if (ret > 0) {