diff options
author | Darren Tucker <dtucker@dtucker.net> | 2018-02-27 14:45:17 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2018-02-28 16:52:12 +1100 |
commit | a10d8552d0d2438da4ed539275abcbf557d1e7a8 (patch) | |
tree | 558851a676d0fe83749966034794b7f1269dbf0e /sshkey-xmss.c | |
parent | 146c3bd28c8dbee9c4b06465d9c9facab96b1e9b (diff) |
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 'sshkey-xmss.c')
-rw-r--r-- | sshkey-xmss.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sshkey-xmss.c b/sshkey-xmss.c index f146098b3..e2b7c49ce 100644 --- a/sshkey-xmss.c +++ b/sshkey-xmss.c | |||
@@ -1,3 +1,4 @@ | |||
1 | #ifdef WITH_XMSS | ||
1 | /* $OpenBSD: sshkey-xmss.c,v 1.1 2018/02/23 15:58:38 markus Exp $ */ | 2 | /* $OpenBSD: sshkey-xmss.c,v 1.1 2018/02/23 15:58:38 markus Exp $ */ |
2 | /* | 3 | /* |
3 | * Copyright (c) 2017 Markus Friedl. All rights reserved. | 4 | * Copyright (c) 2017 Markus Friedl. All rights reserved. |
@@ -1051,3 +1052,4 @@ sshkey_xmss_enable_maxsign(struct sshkey *k, u_int32_t maxsign) | |||
1051 | state->maxidx = state->idx + maxsign; | 1052 | state->maxidx = state->idx + maxsign; |
1052 | return 0; | 1053 | return 0; |
1053 | } | 1054 | } |
1055 | #endif /* WITH_XMSS */ | ||