diff options
author | Ruben Undheim <ruben.undheim@gmail.com> | 2018-11-25 11:57:16 +0100 |
---|---|---|
committer | Ruben Undheim <ruben.undheim@gmail.com> | 2019-01-19 09:12:13 +0100 |
commit | bb541b66a0fc52b63beeac641379823eb35d45a9 (patch) | |
tree | 1827c7426dcb4aaf61e6a5ba064a2f772b1224df | |
parent | 6e082286bfa92e605c18ec31eda678b2adc8b081 (diff) |
Fix big-endian bug
Gbp-Pq: Name 0006-Fix-big-endian-bug.patch
-rw-r--r-- | lib/core/src/sha1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/core/src/sha1.c b/lib/core/src/sha1.c index edd3b4f..cc29243 100644 --- a/lib/core/src/sha1.c +++ b/lib/core/src/sha1.c @@ -138,8 +138,8 @@ void sha1_final(sha1_ctx *ctx, c_uint8_t *digest) n[4] = SWAP32(ctx->Message_Digest[4]); memcpy(digest, n, SHA1_DIGEST_SIZE); - } #endif + } #endif } |