diff options
author | David Phillips <david@sighup.nz> | 2017-04-27 20:17:08 +1200 |
---|---|---|
committer | David Phillips <david@sighup.nz> | 2017-04-27 20:17:08 +1200 |
commit | f7a67f0c2b2b703fe46381659da8185a2d3359e9 (patch) | |
tree | d798c13be3bfdc0250e81b93391b617038c67285 /sand-leek.c | |
parent | 41d991506dfa5c6690c1e2007cc46488b8ee5e13 (diff) | |
download | sand-leek-f7a67f0c2b2b703fe46381659da8185a2d3359e9.tar.xz |
Silence warning about providing unsigned char (*)[20] where unsigned char* expected
Diffstat (limited to 'sand-leek.c')
-rw-r--r-- | sand-leek.c | 2 |
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'; |