[Cryptech-Commits] [sw/libhal] 12/58: Cleanup.

git at cryptech.is git at cryptech.is
Tue Jul 7 18:24:56 UTC 2015


This is an automated email from the git hooks/post-receive script.

sra at hactrn.net pushed a commit to branch master
in repository sw/libhal.

commit 6c983f2fd47dda05575bf2c16a3796cc49393dff
Author: Rob Austein <sra at hactrn.net>
Date:   Sun May 24 18:36:54 2015 -0400

    Cleanup.
---
 .gitignore                | 2 ++
 tests/test-aes-key-wrap.c | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/.gitignore b/.gitignore
index d1767ad..23e4de9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,3 +5,5 @@ TAGS
 autom4te.cache
 config.log
 config.status
+tests/test-aes-key-wrap
+tests/test-hash
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");



More information about the Commits mailing list