mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-02 04:04:39 +02:00
add rsafunction mp_exptmod_e debug message
This commit is contained in:
@@ -388,9 +388,12 @@ static int wc_RsaFunction(const byte* in, word32 inLen, byte* out,
|
|||||||
/* convert */
|
/* convert */
|
||||||
if (mp_to_unsigned_bin(&tmp, out) != MP_OKAY)
|
if (mp_to_unsigned_bin(&tmp, out) != MP_OKAY)
|
||||||
ERROR_OUT(MP_TO_E);
|
ERROR_OUT(MP_TO_E);
|
||||||
|
|
||||||
done:
|
done:
|
||||||
mp_clear(&tmp);
|
mp_clear(&tmp);
|
||||||
|
if (ret == MP_EXPTMOD_E) {
|
||||||
|
WOLFSSL_MSG("RSA_FUNCTION MP_EXPTMOD_E: memory/config problem");
|
||||||
|
}
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user