From a10d8552d0d2438da4ed539275abcbf557d1e7a8 Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Tue, 27 Feb 2018 14:45:17 +1100 Subject: Conditionally compile XMSS code. The XMSS code is currently experimental and, unlike the rest of OpenSSH cannot currently be compiled with a c89 compiler. --- xmss_fast.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'xmss_fast.h') diff --git a/xmss_fast.h b/xmss_fast.h index 657cd27f..52a83f86 100644 --- a/xmss_fast.h +++ b/xmss_fast.h @@ -1,3 +1,4 @@ +#ifdef WITH_XMSS /* xmss_fast.h version 20160722 Andreas Hülsing @@ -106,4 +107,4 @@ int xmssmt_sign(unsigned char *sk, bds_state *state, unsigned char *wots_sigs, u */ int xmssmt_sign_open(unsigned char *msg, unsigned long long *msglen, const unsigned char *sig_msg, unsigned long long sig_msg_len, const unsigned char *pk, const xmssmt_params *params); #endif - +#endif /* WITH_XMSS */ -- cgit v1.2.1