commit | 7f84905552766d115a1a9a044c8c270df61fe6ee | [log] [tgz] |
---|---|---|
author | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Tue Feb 10 17:12:44 2015 +0100 |
committer | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Tue Feb 10 17:34:35 2015 +0100 |
tree | 14b3c4f9a3195b8871e582e6c6ee4a3a8fe85e63 | |
parent | 63adb490625f3fd964760c8d5ac3c7e249e436c2 [diff] [blame] |
Fix two warnings from armcc v5 assignment in condition
diff --git a/library/camellia.c b/library/camellia.c index 826d883..72d902b 100644 --- a/library/camellia.c +++ b/library/camellia.c
@@ -456,7 +456,7 @@ camellia_init( &cty ); /* Also checks keysize */ - if( ( ret = camellia_setkey_enc( &cty, key, keysize ) ) ) + if( ( ret = camellia_setkey_enc( &cty, key, keysize ) ) != 0 ) goto exit; ctx->nr = cty.nr;