aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2021-05-16 18:04:51 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2021-05-16 18:15:39 +0300
commit255c45dd3bfe20b633585932f2acce80263822c8 (patch)
tree8f4cd4ecfe85be8d9aa01e211d0f2bd9d65b57d9
parent356187139c78ee5be253fe1c3cba932b210ec84e (diff)
downloadlibmicrohttpd-255c45dd3bfe20b633585932f2acce80263822c8.tar.gz
libmicrohttpd-255c45dd3bfe20b633585932f2acce80263822c8.zip
sha256: re-arranged struct members to have better alignment
-rw-r--r--src/microhttpd/sha256.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/microhttpd/sha256.h b/src/microhttpd/sha256.h
index 55962d72..8a158567 100644
--- a/src/microhttpd/sha256.h
+++ b/src/microhttpd/sha256.h
@@ -54,8 +54,8 @@
54struct sha256_ctx 54struct sha256_ctx
55{ 55{
56 uint32_t H[_SHA256_DIGEST_LENGTH]; /**< Intermediate hash value / digest at end of calculation */ 56 uint32_t H[_SHA256_DIGEST_LENGTH]; /**< Intermediate hash value / digest at end of calculation */
57 uint64_t count; /**< number of bytes, mod 2^64 */
58 uint8_t buffer[SHA256_BLOCK_SIZE]; /**< SHA256 input data buffer */ 57 uint8_t buffer[SHA256_BLOCK_SIZE]; /**< SHA256 input data buffer */
58 uint64_t count; /**< number of bytes, mod 2^64 */
59}; 59};
60 60
61/** 61/**