mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-29 18:27: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
|
||||
(void)rng;
|
||||
WOLFSSL_MSG("SP Key Size Error");
|
||||
return WC_KEY_SIZE_E;
|
||||
#else
|
||||
(void)rng;
|
||||
|
Reference in New Issue
Block a user