diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2018-03-25 20:08:26 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2018-03-25 20:12:44 +0200 |
commit | 8e73b389e2e740984e77ac7ef5d49deca44edbf7 (patch) | |
tree | 518a6da9ae688fe3a04c8e149ab5b8ece179f2a0 /lib | |
parent | 3016f24d31ba03514c0383962350d675ecb7af06 (diff) | |
download | gnutls-8e73b389e2e740984e77ac7ef5d49deca44edbf7.tar.gz |
nettle: corrected typo in version check for compatibility mode with 3.3tmp-nettle-version-check-update
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/nettle/pk.c | 2 |
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 |