[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] 46/335: Unified handling of external hash function for M
From: |
gnunet |
Subject: |
[libmicrohttpd] 46/335: Unified handling of external hash function for MD5 and SHA-256 |
Date: |
Sat, 27 Jul 2024 21:59:02 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to tag stf-m2
in repository libmicrohttpd.
commit c176e13761f10614102d6af9cac9f09ffb0f670c
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Wed Jan 31 23:11:22 2024 +0100
Unified handling of external hash function for MD5 and SHA-256
---
src/microhttpd/md5_ext.h | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/microhttpd/md5_ext.h b/src/microhttpd/md5_ext.h
index 435991c1..9d7c40c7 100644
--- a/src/microhttpd/md5_ext.h
+++ b/src/microhttpd/md5_ext.h
@@ -29,7 +29,6 @@
#ifdef HAVE_STDDEF_H
#include <stddef.h> /* for size_t */
#endif /* HAVE_STDDEF_H */
-#include <gnutls/crypto.h>
/**
* Size of MD5 resulting digest in bytes
@@ -37,6 +36,8 @@
*/
#define MD5_DIGEST_SIZE (16)
+/* Actual declaration is in GnuTLS lib header */
+struct hash_hd_st;
/**
* Indicates that struct Md5CtxExt has 'ext_error'
@@ -48,7 +49,7 @@
*/
struct Md5CtxExt
{
- gnutls_hash_hd_t handle; /**< Hash calculation handle */
+ struct hash_hd_st *handle; /**< Hash calculation handle */
int ext_error; /**< Non-zero if external error occurs during init or hashing
*/
};
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [libmicrohttpd] 30/335: Skipped some HTTPS tests with old broken GnuTLS, (continued)
- [libmicrohttpd] 30/335: Skipped some HTTPS tests with old broken GnuTLS, gnunet, 2024/07/27
- [libmicrohttpd] 16/335: configure: fixed some compiler warnings, gnunet, 2024/07/27
- [libmicrohttpd] 34/335: Muted some compiler warnings, gnunet, 2024/07/27
- [libmicrohttpd] 39/335: Muted compiler warning, gnunet, 2024/07/27
- [libmicrohttpd] 31/335: Moved test_quiesce to heavy tests, gnunet, 2024/07/27
- [libmicrohttpd] 22/335: Fixed and/or muted compiler warnings, gnunet, 2024/07/27
- [libmicrohttpd] 26/335: Fuzz test: increased tests' timeout value, gnunet, 2024/07/27
- [libmicrohttpd] 48/335: ChangeLog: updated, gnunet, 2024/07/27
- [libmicrohttpd] 35/335: configure: sorted messages in final config summary, gnunet, 2024/07/27
- [libmicrohttpd] 37/335: Fixed grow buffer check on 32-bit platforms, gnunet, 2024/07/27
- [libmicrohttpd] 46/335: Unified handling of external hash function for MD5 and SHA-256,
gnunet <=
- [libmicrohttpd] 41/335: Fixes for 32-bit platforms, gnunet, 2024/07/27
- [libmicrohttpd] 44/335: test_upgrade: adapted for macOS, gnunet, 2024/07/27
- [libmicrohttpd] 54/335: Fixed typo in NEWS file, gnunet, 2024/07/27
- [libmicrohttpd] 43/335: configure: removed old workaround, gnunet, 2024/07/27
- [libmicrohttpd] 29/335: test_digestauth2: supported old libcurl versions, gnunet, 2024/07/27
- [libmicrohttpd] 42/335: Compiler warning fixes, gnunet, 2024/07/27
- [libmicrohttpd] 57/335: Fixed SHA-512/256 calculation for unrealistically large volumes, gnunet, 2024/07/27
- [libmicrohttpd] 59/335: microhttpd2.h edit, gnunet, 2024/07/27
- [libmicrohttpd] 55/335: Fixe NEWS one more time, gnunet, 2024/07/27
- [libmicrohttpd] 45/335: test_upgrade: disable now unused function, gnunet, 2024/07/27