From: Nikos Mavrogiannopoulos Date: Sun, 25 Mar 2018 18:08:26 +0000 (+0200) Subject: nettle: corrected typo in version check for compatibility mode with 3.3 X-Git-Tag: gnutls_3_6_3~193^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8e73b389e2e740984e77ac7ef5d49deca44edbf7;p=thirdparty%2Fgnutls.git nettle: corrected typo in version check for compatibility mode with 3.3 Signed-off-by: Nikos Mavrogiannopoulos --- 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