mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 07:12:54 +08:00
Fix a few places where there was a semicolon following the 'if' condition, makeing the following logic unconditional.
This commit is contained in:
+5
-1
@@ -124,8 +124,12 @@ static int test_aes(void)
|
||||
int crypto_test(void)
|
||||
{
|
||||
#if defined(CONFIG_CRYPTO_AES)
|
||||
if (test_aes()) return -1;
|
||||
if (test_aes())
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
#endif
|
||||
|
||||
return OK;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user