From f1c647d4dba7d37d2c021c63b1c8b8f6613afcf0 Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Sun, 25 Mar 2018 20:08:26 +0200 Subject: nettle: corrected typo in version check for compatibility mode with 3.3 Signed-off-by: Nikos Mavrogiannopoulos --- lib/nettle/pk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/nettle/pk.c b/lib/nettle/pk.c index 5af742b540..1c380a5e28 100644 --- a/lib/nettle/pk.c +++ b/lib/nettle/pk.c @@ -768,7 +768,7 @@ _wrap_nettle_pk_verify(gnutls_pk_algorithm_t algo, return ret; } -#if NETTLE_MAJOR_VERSION < 3 || (NETTLE_MAJOR_VERSION == 3 && NETTLE_MINOR_VERSION < 4) +#if !defined(NETTLE_VERSION_MAJOR) || (NETTLE_VERSION_MAJOR < 3 || (NETTLE_VERSION_MAJOR == 3 && NETTLE_VERSION_MINOR < 4)) # ifdef ENABLE_NON_SUITEB_CURVES # define nettle_get_secp_192r1() &nettle_secp_192r1 # define nettle_get_secp_224r1() &nettle_secp_224r1 -- cgit v1.2.1