summaryrefslogtreecommitdiff
path: root/xmss_hash.c
diff options
context:
space:
mode:
Diffstat (limited to 'xmss_hash.c')
-rw-r--r--xmss_hash.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/xmss_hash.c b/xmss_hash.c
index c4cac47f..c8b27116 100644
--- a/xmss_hash.c
+++ b/xmss_hash.c
@@ -1,3 +1,4 @@
+#ifdef WITH_XMSS
/*
hash.c version 20160722
Andreas Hülsing
@@ -135,3 +136,4 @@ int hash_f(unsigned char *out, const unsigned char *in, const unsigned char *pub
}
return core_hash_SHA2(out, 0, key, n, buf, n, n);
}
+#endif /* WITH_XMSS */