summaryrefslogtreecommitdiff
path: root/lib/nettle/gost/gosthash94-meta.c
diff options
context:
space:
mode:
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>2019-07-22 12:21:29 +0000
committerDmitry Eremin-Solenikov <dbaryshkov@gmail.com>2019-07-22 12:21:29 +0000
commit419f0b4eaa0363050a63eed479ce536edac419eb (patch)
treebbf6116fc4d87a6bddfd02d13960c94bbb1ef6ba /lib/nettle/gost/gosthash94-meta.c
parentc3083c9555296973b6dfd7b4561ebf2300815605 (diff)
parent5df63c6ffba10ecdb3660531ad67424eb14d8552 (diff)
downloadgnutls-419f0b4eaa0363050a63eed479ce536edac419eb.tar.gz
Merge branch 'fix-gost' into 'master'
nettle/gost: support building with GOST-enabled Nettle See merge request gnutls/gnutls!1044
Diffstat (limited to 'lib/nettle/gost/gosthash94-meta.c')
-rw-r--r--lib/nettle/gost/gosthash94-meta.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/nettle/gost/gosthash94-meta.c b/lib/nettle/gost/gosthash94-meta.c
index 3af3c8fa4c..9cdbe8d566 100644
--- a/lib/nettle/gost/gosthash94-meta.c
+++ b/lib/nettle/gost/gosthash94-meta.c
@@ -33,6 +33,8 @@
# include "config.h"
#endif
+#ifndef HAVE_NETTLE_GOSTHASH94CP_UPDATE
+
#include <gnutls_int.h>
#include <nettle/nettle-meta.h>
@@ -41,3 +43,5 @@
const struct nettle_hash nettle_gosthash94cp
= _NETTLE_HASH(gosthash94cp, GOSTHASH94CP);
+
+#endif