summaryrefslogtreecommitdiff
path: root/lib/nettle/gost/hmac-streebog.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/nettle/gost/hmac-streebog.c')
-rw-r--r--lib/nettle/gost/hmac-streebog.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/nettle/gost/hmac-streebog.c b/lib/nettle/gost/hmac-streebog.c
index 18ed916694..00fcdb9132 100644
--- a/lib/nettle/gost/hmac-streebog.c
+++ b/lib/nettle/gost/hmac-streebog.c
@@ -35,6 +35,7 @@
# include <config.h>
#endif
+#ifndef HAVE_NETTLE_STREEBOG512_UPDATE
#include <gnutls_int.h>
#include <nettle/hmac.h>
@@ -74,3 +75,4 @@ hmac_streebog256_digest(struct hmac_streebog256_ctx *ctx,
{
HMAC_DIGEST(ctx, &nettle_streebog256, length, digest);
}
+#endif