]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
lib:crypto: Remove unused macro definitions
authorJo Sutton <josutton@catalyst.net.nz>
Tue, 5 Dec 2023 02:40:30 +0000 (15:40 +1300)
committerMartin Schwenke <martins@samba.org>
Tue, 2 Jul 2024 03:39:35 +0000 (03:39 +0000)
As we now require GnuTLS 3.6.13, we can rely on GnuTLS providing these
macros.

Signed-off-by: Jo Sutton <josutton@catalyst.net.nz>
Reviewed-by: Martin Schwenke <martin@meltin.net>
lib/crypto/gnutls_helpers.h

index 6699ebc019689b22487c0b43cda4146a530f9a7c..b8117fe8335a4717a961f707c3910e37435fd271 100644 (file)
 #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.