aboutsummaryrefslogtreecommitdiff
path: root/hal_io_eim.c
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2015-06-04 16:55:28 -0400
committerRob Austein <sra@hactrn.net>2015-06-04 16:55:28 -0400
commitcf865e9d768ab2dad37f82f071f0050b20f18506 (patch)
tree9bcdd8a495d5d72953f37ffbed6b03af214c7c38 /hal_io_eim.c
parent9176df4906ae90df7b0b1e16485571fd3d3132d8 (diff)
Disable HMAC-SHA-384 tests as neither my implementation nor PyCrypto
passes them. Add missing copyright notices, other trivial cleanup (whitespace, etc).
Diffstat (limited to 'hal_io_eim.c')
-rw-r--r--hal_io_eim.c10
1 files changed, 8 insertions, 2 deletions
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:
+ */