From 172b0eeb45e771ca0df56697bcfb581cc8a96a88 Mon Sep 17 00:00:00 2001 From: "Evgeny Grin (Karlson2k)" Date: Sat, 24 Sep 2022 20:13:16 +0300 Subject: Implemented support for hash calculation by GnuTLS lib functions --- src/microhttpd/sha256.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/microhttpd/sha256.h') 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 MHD_SHA256_finish (struct Sha256Ctx *ctx, uint8_t digest[SHA256_DIGEST_SIZE]); +/** + * Indicates that function MHD_SHA256_finish() (without context reset) is available + */ +#define MHD_SHA256_HAS_FINISH 1 + #endif /* MHD_SHA256_H */ -- cgit v1.2.3