From 6c983f2fd47dda05575bf2c16a3796cc49393dff Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Sun, 24 May 2015 18:36:54 -0400 Subject: Cleanup. --- tests/test-aes-key-wrap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') 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"); -- cgit v1.2.3