summaryrefslogtreecommitdiff
path: root/lib/nettle/gost/gost28147.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/nettle/gost/gost28147.h')
-rw-r--r--lib/nettle/gost/gost28147.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/nettle/gost/gost28147.h b/lib/nettle/gost/gost28147.h
index ca45517f41..7329d2ed8b 100644
--- a/lib/nettle/gost/gost28147.h
+++ b/lib/nettle/gost/gost28147.h
@@ -35,6 +35,10 @@
#ifndef GNUTLS_LIB_NETTLE_GOST_GOST28147_H
#define GNUTLS_LIB_NETTLE_GOST_GOST28147_H
+#include "config.h"
+
+#ifndef HAVE_NETTLE_GOST28147_SET_KEY
+
#include <nettle/nettle-types.h>
#ifdef __cplusplus
@@ -115,4 +119,6 @@ gost28147_encrypt_for_cfb(struct gost28147_ctx *ctx,
}
#endif
+#endif
+
#endif /* GNUTLS_LIB_NETTLE_GOST_GOST28147_H */