From 8e73b389e2e740984e77ac7ef5d49deca44edbf7 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 58a0414971..7137dc88fa 100644 --- a/lib/nettle/pk.c +++ b/lib/nettle/pk.c @@ -1062,7 +1062,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