X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/c0635b6dfe65ee24c2fb8d165beabc608d2fd1a5..1d28cc061677bd07d9bed48dd84bd5c590247043:/src/src/dane.c diff --git a/src/src/dane.c b/src/src/dane.c index 541e9cb02..a12e16238 100644 --- a/src/src/dane.c +++ b/src/src/dane.c @@ -4,6 +4,7 @@ /* Copyright (c) University of Cambridge 1995 - 2012, 2014 */ /* See the file NOTICE for conditions of use and distribution. */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* This module provides DANE (RFC6659) support for Exim. See also the draft RFC for DANE-over-SMTP, "SMTP security via opportunistic DANE TLS" @@ -29,7 +30,7 @@ static void dummy(int x) { dummy(x-1); } #else /* Enabling DANE without enabling TLS cannot work. Abort the compilation. */ -# ifndef SUPPORT_TLS +# ifdef DISABLE_TLS # error DANE support requires that TLS support must be enabled. Abort build. # endif @@ -38,7 +39,7 @@ static void dummy(int x) { dummy(x-1); } # error DANE support requires that the DNS resolver library supports DNSSEC # endif -# ifndef USE_GNUTLS +# ifdef USE_OPENSSL # include "dane-openssl.c" # endif