summaryrefslogtreecommitdiff
path: root/lib/nettle/gost/gost28147.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/nettle/gost/gost28147.c')
-rw-r--r--lib/nettle/gost/gost28147.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/nettle/gost/gost28147.c b/lib/nettle/gost/gost28147.c
index 0b70d39ca6..0b047242f2 100644
--- a/lib/nettle/gost/gost28147.c
+++ b/lib/nettle/gost/gost28147.c
@@ -32,6 +32,8 @@
#include "config.h"
#endif
+#ifndef HAVE_NETTLE_GOST28147_SET_KEY
+
#include <gnutls_int.h>
#include <string.h>
@@ -2365,3 +2367,4 @@ gost28147_encrypt_for_cfb(struct gost28147_ctx *ctx,
ctx->key_count += GOST28147_BLOCK_SIZE;
}
}
+#endif