summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/nettle/pk.c2
1 files changed, 1 insertions, 1 deletions
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