diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-11-29 16:21:45 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2018-02-19 15:29:36 +0100 |
commit | 1228d278da8e07925dd78e62787f75509a884b79 (patch) | |
tree | 4a9fc11408fa7017d2b77eb5f85b4fc56c22d2e6 | |
parent | 5bb19edcbb7a540b7ab44866b5a09996716d260b (diff) | |
download | gnutls-1228d278da8e07925dd78e62787f75509a884b79.tar.gz |
hkdf: refer to nettle's hkdf.h when available
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
-rw-r--r-- | lib/nettle/int/hkdf.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/nettle/int/hkdf.h b/lib/nettle/int/hkdf.h index a7101da3a8..ba84684d83 100644 --- a/lib/nettle/int/hkdf.h +++ b/lib/nettle/int/hkdf.h @@ -34,6 +34,11 @@ #ifndef _HKDF_H_INCLUDED #define _HKDF_H_INCLUDED +#include <nettle/version.h> +#if NETTLE_VERSION_MAJOR > 3 || (NETTLE_VERSION_MAJOR == 3 && NETTLE_VERSION_MINOR >= 4) +# include <nettle/hkdf.h> +#else + #include <nettle/nettle-meta.h> #ifdef __cplusplus @@ -63,4 +68,7 @@ extern "C" { #ifdef __cplusplus } #endif + +#endif /* NETTLE_VERSION_MAJOR etc. */ + #endif /* NETTLE_HKDF_H_INCLUDED */ |