diff options
Diffstat (limited to '')
-rw-r--r-- | libsha2.h | 2 | ||||
-rw-r--r-- | process.c | 6 | ||||
-rw-r--r-- | sum_fd.c | 2 |
3 files changed, 5 insertions, 5 deletions
@@ -67,7 +67,7 @@ struct libsha2_state { * For 32-bit algorithms */ uint_least32_t b32[64]; - + /** * For 64-bit algorithms */ @@ -256,14 +256,14 @@ __attribute__((__constructor__)) static int have_sha_intrinsics(void) { - static volatile int ret = -1; - static volatile atomic_flag spinlock = ATOMIC_FLAG_INIT; + static volatile int ret = -1; + static volatile atomic_flag spinlock = ATOMIC_FLAG_INIT; int a, b, c, d; if (ret != -1) return ret; - while (atomic_flag_test_and_set(&spinlock)); + while (atomic_flag_test_and_set(&spinlock)); if (ret != -1) goto out; @@ -61,7 +61,7 @@ libsha2_sum_fd(int fd, enum libsha2_algorithm algorithm, void *restrict hashsum) libsha2_digest(&state, NULL, 0, hashsum); #if ALLOCA_LIMIT <= 0 - free(chunk); + free(chunk); #endif return 0; } |