aboutsummaryrefslogtreecommitdiff
path: root/sand-leek.c
diff options
context:
space:
mode:
Diffstat (limited to 'sand-leek.c')
-rw-r--r--sand-leek.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sand-leek.c b/sand-leek.c
index 6b90a11..6c571e2 100644
--- a/sand-leek.c
+++ b/sand-leek.c
@@ -102,7 +102,7 @@ work(void *arg) {
e_big_endian = htobe32(e);
SHA1_Update(&working_sha_c, &e_big_endian, EXPONENT_SIZE_BYTES);
- SHA1_Final(&sha, &working_sha_c);
+ SHA1_Final((unsigned char*)&sha, &working_sha_c);
onion_sha(onion, sha);
onion[16] = '\0';