Skip to content

Commit 11e8a89

Browse files
committed
wolfcrypt/src/aes.c: coddle XCode (clang) to clear frivolous -Wparentheses-equality.
1 parent 6261108 commit 11e8a89

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

wolfcrypt/src/aes.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12328,9 +12328,9 @@ int wc_AesXtsSetKeyNoInit(XtsAes* aes, const byte* key, word32 len, int dir)
1232812328
}
1232912329
#endif
1233012330

12331-
if ((dir == AES_ENCRYPTION)
12331+
if (dir == AES_ENCRYPTION
1233212332
#ifdef WC_AES_XTS_SUPPORT_SIMULTANEOUS_ENC_AND_DEC_KEYS
12333-
|| (dir == AES_ENCRYPTION_AND_DECRYPTION)
12333+
|| dir == AES_ENCRYPTION_AND_DECRYPTION
1233412334
#endif
1233512335
)
1233612336
{

0 commit comments

Comments
 (0)