mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 10:47:28 +02:00
In the RSA PCT, initialize the plain output pointer.
This commit is contained in:
@ -618,6 +618,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