return IdeaCbc{Encrypt/Decrypt} error code

This commit is contained in:
Ludovic FLAMENT
2015-09-24 08:13:43 +02:00
parent f68400da40
commit 86d74efc37

View File

@ -5942,8 +5942,8 @@ static INLINE int Encrypt(WOLFSSL* ssl, byte* out, const byte* input, word16 sz)
#ifdef HAVE_IDEA #ifdef HAVE_IDEA
case wolfssl_idea: case wolfssl_idea:
wc_IdeaCbcEncrypt(ssl->encrypt.idea, out, input, sz); ret = wc_IdeaCbcEncrypt(ssl->encrypt.idea, out, input, sz);
break; break;
#endif #endif
default: default:
@ -6103,7 +6103,7 @@ static INLINE int Decrypt(WOLFSSL* ssl, byte* plain, const byte* input,
#ifdef HAVE_IDEA #ifdef HAVE_IDEA
case wolfssl_idea: case wolfssl_idea:
wc_IdeaCbcDecrypt(ssl->decrypt.idea, plain, input, sz); ret = wc_IdeaCbcDecrypt(ssl->decrypt.idea, plain, input, sz);
break; break;
#endif #endif