]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
Fix typo in fallback _gnutls_no_log macro alias in errors.h
authorRamesh Adhikari <adhikari.resume@gmail.com>
Mon, 4 Mar 2024 01:48:06 +0000 (01:48 +0000)
committerDaiki Ueno <ueno@gnu.org>
Mon, 4 Mar 2024 01:48:06 +0000 (01:48 +0000)
Previously, when C99_MACROS is not defined, _gnutls_no_log was
expanded to _gnutle_null_log and thus caused a compilation error.

Reported by Andrew Lilley Brinker in:
https://gitlab.com/gnutls/gnutls/-/issues/1530

Signed-off-by: Ramesh <adhikari.resume@gmail.com>
lib/errors.h

index 2e210b5f2554db4cef1ba93964bcbb700a193e03..891c5dfd1df410fc5f9879cda01df2fd8ef49d6a 100644 (file)
@@ -170,7 +170,7 @@ void _gnutls_mpi_log(const char *prefix, bigint_t a);
 #define _gnutls_dtls_log _gnutls_null_log
 #define _gnutls_read_log _gnutls_null_log
 #define _gnutls_write_log _gnutls_null_log
-#define _gnutls_no_log _gnutle_null_log
+#define _gnutls_no_log _gnutls_null_log
 
 void _gnutls_null_log(void *, ...);