Fix two warnings from armcc v5

assignment in condition
This commit is contained in:
Manuel Pégourié-Gonnard 2015-02-10 17:12:44 +01:00
parent 63adb49062
commit 7f84905552
2 changed files with 2 additions and 2 deletions

View file

@ -456,7 +456,7 @@ int camellia_setkey_dec( camellia_context *ctx, const unsigned char *key,
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;