From 239a8f277ca5b30baac2255a720d8d43d12bfc69 Mon Sep 17 00:00:00 2001 From: Jo Sutton Date: Tue, 5 Dec 2023 15:40:30 +1300 Subject: [PATCH] lib:crypto: Remove unused macro definitions As we now require GnuTLS 3.6.13, we can rely on GnuTLS providing these macros. Signed-off-by: Jo Sutton Reviewed-by: Martin Schwenke --- lib/crypto/gnutls_helpers.h | 9 --------- 1 file changed, 9 deletions(-) diff --git a/lib/crypto/gnutls_helpers.h b/lib/crypto/gnutls_helpers.h index 6699ebc0196..b8117fe8335 100644 --- a/lib/crypto/gnutls_helpers.h +++ b/lib/crypto/gnutls_helpers.h @@ -24,15 +24,6 @@ #include "libcli/util/werror.h" #include "lib/util/data_blob.h" -/* Those macros are only available in GnuTLS >= 3.6.4 */ -#ifndef GNUTLS_FIPS140_SET_LAX_MODE -#define GNUTLS_FIPS140_SET_LAX_MODE() -#endif - -#ifndef GNUTLS_FIPS140_SET_STRICT_MODE -#define GNUTLS_FIPS140_SET_STRICT_MODE() -#endif - #ifdef DOXYGEN /** * @brief Convert a gnutls error code to a corresponding NTSTATUS.