mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-31 11:17:29 +02:00
Add useful log message when SP math key size is invalid.
This commit is contained in:
@ -1856,6 +1856,7 @@ static int wc_RsaFunctionSync(const byte* in, word32 inLen, byte* out,
|
|||||||
|
|
||||||
#ifdef WOLFSSL_SP_MATH
|
#ifdef WOLFSSL_SP_MATH
|
||||||
(void)rng;
|
(void)rng;
|
||||||
|
WOLFSSL_MSG("SP Key Size Error");
|
||||||
return WC_KEY_SIZE_E;
|
return WC_KEY_SIZE_E;
|
||||||
#else
|
#else
|
||||||
(void)rng;
|
(void)rng;
|
||||||
|
Reference in New Issue
Block a user