From: Jo Sutton Date: Tue, 5 Dec 2023 02:40:30 +0000 (+1300) Subject: lib:crypto: Remove unused macro definitions X-Git-Tag: tdb-1.4.11~225 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=239a8f277ca5b30baac2255a720d8d43d12bfc69;p=thirdparty%2Fsamba.git 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 --- 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.