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 /xmss_hash_address.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 'xmss_hash_address.c')
-rw-r--r-- | xmss_hash_address.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xmss_hash_address.c b/xmss_hash_address.c index 0ff4fdb5a..b970619e5 100644 --- a/xmss_hash_address.c +++ b/xmss_hash_address.c | |||
@@ -1,3 +1,4 @@ | |||
1 | #ifdef WITH_XMSS | ||
1 | /* | 2 | /* |
2 | hash_address.c version 20160722 | 3 | hash_address.c version 20160722 |
3 | Andreas Hülsing | 4 | Andreas Hülsing |
@@ -61,3 +62,4 @@ void setTreeHeight(uint32_t adrs[8], uint32_t treeHeight){ | |||
61 | void setTreeIndex(uint32_t adrs[8], uint32_t treeIndex){ | 62 | void setTreeIndex(uint32_t adrs[8], uint32_t treeIndex){ |
62 | adrs[6] = treeIndex; | 63 | adrs[6] = treeIndex; |
63 | } | 64 | } |
65 | #endif /* WITH_XMSS */ | ||