add rsafunction mp_exptmod_e debug message

pull/72/head
toddouska 2015-05-07 10:33:23 -07:00
parent 08b6e66ea8
commit 7a90f60a9c
1 changed files with 5 additions and 2 deletions

View File

@ -391,6 +391,9 @@ static int wc_RsaFunction(const byte* in, word32 inLen, byte* out,
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;
} }