From cf865e9d768ab2dad37f82f071f0050b20f18506 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Thu, 4 Jun 2015 16:55:28 -0400 Subject: Disable HMAC-SHA-384 tests as neither my implementation nor PyCrypto passes them. Add missing copyright notices, other trivial cleanup (whitespace, etc). --- hal_io_eim.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'hal_io_eim.c') diff --git a/hal_io_eim.c b/hal_io_eim.c index ee5a5de..f7444e2 100644 --- a/hal_io_eim.c +++ b/hal_io_eim.c @@ -48,7 +48,7 @@ static int debug = 0; static int inited = 0; #ifndef EIM_IO_TIMEOUT -#define EIM_IO_TIMEOUT 100000000 +#define EIM_IO_TIMEOUT 100000000 #endif static hal_error_t init(void) @@ -188,7 +188,7 @@ hal_error_t hal_io_wait(off_t offset, uint8_t status, int *count) if ((buf[3] & status) != 0) { if (count) - *count = i; + *count = i; return HAL_OK; } } @@ -205,3 +205,9 @@ hal_error_t hal_io_wait_valid(off_t offset) int limit = EIM_IO_TIMEOUT; return hal_io_wait(offset, STATUS_VALID, &limit); } + +/* + * Local variables: + * indent-tabs-mode: nil + * End: + */ -- cgit v1.2.3