aboutsummaryrefslogtreecommitdiff
path: root/tests/test-aes-key-wrap.c
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2015-05-24 18:36:54 -0400
committerRob Austein <sra@hactrn.net>2015-05-24 18:36:54 -0400
commit6c983f2fd47dda05575bf2c16a3796cc49393dff (patch)
tree8b365479fa6ce90fbd778b66631677dd1c40910f /tests/test-aes-key-wrap.c
parenta05b7a97e05c53b70e2edc2cc14a6a4348b38739 (diff)
Cleanup.
Diffstat (limited to 'tests/test-aes-key-wrap.c')
-rw-r--r--tests/test-aes-key-wrap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-aes-key-wrap.c b/tests/test-aes-key-wrap.c
index 66512e2..79bace6 100644
--- a/tests/test-aes-key-wrap.c
+++ b/tests/test-aes-key-wrap.c
@@ -136,7 +136,7 @@ int main (int argc, char *argv[])
int failures = 0;
printf("Testing whether AES core reports present...");
- if (hal_io_expected(AES_ADDR_NAME0, (const uint8_t *) (AES_CORE_NAME0 AES_CORE_NAME1), 8))
+ if (hal_io_expected(AES_ADDR_NAME0, (const uint8_t *) (AES_CORE_NAME0 AES_CORE_NAME1), 8) == HAL_OK)
printf("yes\n");
else
printf("no\n");