summaryrefslogtreecommitdiffstats
path: root/xmss_commons.h
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@dtucker.net>2018-02-27 04:45:17 +0100
committerDarren Tucker <dtucker@dtucker.net>2018-02-28 06:52:12 +0100
commita10d8552d0d2438da4ed539275abcbf557d1e7a8 (patch)
tree558851a676d0fe83749966034794b7f1269dbf0e /xmss_commons.h
parentCheck dlopen has RTLD_NOW before enabling pkcs11. (diff)
downloadopenssh-a10d8552d0d2438da4ed539275abcbf557d1e7a8.tar.xz
openssh-a10d8552d0d2438da4ed539275abcbf557d1e7a8.zip
Conditionally compile XMSS code.
The XMSS code is currently experimental and, unlike the rest of OpenSSH cannot currently be compiled with a c89 compiler.
Diffstat (limited to 'xmss_commons.h')
-rw-r--r--xmss_commons.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/xmss_commons.h b/xmss_commons.h
index d9a920c02..a79ba11e9 100644
--- a/xmss_commons.h
+++ b/xmss_commons.h
@@ -1,3 +1,4 @@
+#ifdef WITH_XMSS
/*
xmss_commons.h 20160722
Andreas Hülsing
@@ -17,3 +18,4 @@ void to_byte(unsigned char *output, unsigned long long in, uint32_t bytes);
void hexdump(const unsigned char *a, size_t len);
#endif
#endif
+#endif /* WITH_XMSS */