aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/sha256.h
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2022-09-24 20:13:16 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2022-09-25 18:40:50 +0300
commit172b0eeb45e771ca0df56697bcfb581cc8a96a88 (patch)
tree977a836a5046ee32eb1c957d923a3567ee61bdb9 /src/microhttpd/sha256.h
parent281b22da0e60e642a5ad528e5a25ff7ae9b2d7ed (diff)
downloadlibmicrohttpd-172b0eeb45e771ca0df56697bcfb581cc8a96a88.tar.gz
libmicrohttpd-172b0eeb45e771ca0df56697bcfb581cc8a96a88.zip
Implemented support for hash calculation by GnuTLS lib functions
Diffstat (limited to 'src/microhttpd/sha256.h')
-rw-r--r--src/microhttpd/sha256.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/microhttpd/sha256.h b/src/microhttpd/sha256.h
index c3d32e9c..9069a59a 100644
--- a/src/microhttpd/sha256.h
+++ b/src/microhttpd/sha256.h
@@ -114,4 +114,9 @@ void
114MHD_SHA256_finish (struct Sha256Ctx *ctx, 114MHD_SHA256_finish (struct Sha256Ctx *ctx,
115 uint8_t digest[SHA256_DIGEST_SIZE]); 115 uint8_t digest[SHA256_DIGEST_SIZE]);
116 116
117/**
118 * Indicates that function MHD_SHA256_finish() (without context reset) is available
119 */
120#define MHD_SHA256_HAS_FINISH 1
121
117#endif /* MHD_SHA256_H */ 122#endif /* MHD_SHA256_H */