forked from wolfSSL/wolfssl
In the RSA PCT, initialize the plain output pointer.
This commit is contained in:
committed by
Daniel Pouzzner
parent
aa3fb6f0d0
commit
f42106201a
@@ -626,6 +626,7 @@ static int _ifc_pairwise_consistency_test(RsaKey* key, WC_RNG* rng)
|
|||||||
return MEMORY_E;
|
return MEMORY_E;
|
||||||
}
|
}
|
||||||
XMEMSET(sig, 0, sigLen);
|
XMEMSET(sig, 0, sigLen);
|
||||||
|
plain = sig;
|
||||||
|
|
||||||
ret = wc_RsaSSL_Sign((const byte*)msg, msgLen, sig, sigLen, key, rng);
|
ret = wc_RsaSSL_Sign((const byte*)msg, msgLen, sig, sigLen, key, rng);
|
||||||
if (ret > 0) {
|
if (ret > 0) {
|
||||||
|
Reference in New Issue
Block a user