diff options
author | Darren Tucker <dtucker@dtucker.net> | 2018-02-28 19:59:35 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2018-02-28 19:59:35 +1100 |
commit | 941e0d3e9bb8d5e4eb70cc694441445faf037c84 (patch) | |
tree | 2ea320ea3f1496d64e1493844d988c4daa3b9fdc /ssh-xmss.c | |
parent | a10d8552d0d2438da4ed539275abcbf557d1e7a8 (diff) |
Add WITH_XMSS, move to prevent conflicts.
Add #ifdef WITH_XMSS to ssh-xmss.c, move it in the other files to after
includes.h so it's less likely to conflict and will pick up WITH_XMSS if
added to config.h.
Diffstat (limited to 'ssh-xmss.c')
-rw-r--r-- | ssh-xmss.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ssh-xmss.c b/ssh-xmss.c index e25dbbf65..4c734fd7d 100644 --- a/ssh-xmss.c +++ b/ssh-xmss.c | |||
@@ -16,6 +16,7 @@ | |||
16 | * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 16 | * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
17 | */ | 17 | */ |
18 | #include "includes.h" | 18 | #include "includes.h" |
19 | #ifdef WITH_XMSS | ||
19 | 20 | ||
20 | #define SSHKEY_INTERNAL | 21 | #define SSHKEY_INTERNAL |
21 | #include <sys/types.h> | 22 | #include <sys/types.h> |
@@ -188,3 +189,4 @@ ssh_xmss_verify(const struct sshkey *key, | |||
188 | free(ktype); | 189 | free(ktype); |
189 | return r; | 190 | return r; |
190 | } | 191 | } |
192 | #endif /* WITH_XMSS */ | ||