summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ssh-xmss.c2
-rw-r--r--sshkey-xmss.c2
-rw-r--r--xmss_commons.c2
-rw-r--r--xmss_fast.c2
-rw-r--r--xmss_hash.c2
-rw-r--r--xmss_hash_address.c2
-rw-r--r--xmss_wots.c2
7 files changed, 8 insertions, 6 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 */
diff --git a/sshkey-xmss.c b/sshkey-xmss.c
index e2b7c49ce..5d66ee790 100644
--- a/sshkey-xmss.c
+++ b/sshkey-xmss.c
@@ -1,4 +1,3 @@
1#ifdef WITH_XMSS
2/* $OpenBSD: sshkey-xmss.c,v 1.1 2018/02/23 15:58:38 markus Exp $ */ 1/* $OpenBSD: sshkey-xmss.c,v 1.1 2018/02/23 15:58:38 markus Exp $ */
3/* 2/*
4 * Copyright (c) 2017 Markus Friedl. All rights reserved. 3 * Copyright (c) 2017 Markus Friedl. All rights reserved.
@@ -25,6 +24,7 @@
25 */ 24 */
26 25
27#include "includes.h" 26#include "includes.h"
27#ifdef WITH_XMSS
28 28
29#include <sys/types.h> 29#include <sys/types.h>
30#include <sys/uio.h> 30#include <sys/uio.h>
diff --git a/xmss_commons.c b/xmss_commons.c
index a25fc673c..18f648d64 100644
--- a/xmss_commons.c
+++ b/xmss_commons.c
@@ -1,4 +1,3 @@
1#ifdef WITH_XMSS
2/* 1/*
3xmss_commons.c 20160722 2xmss_commons.c 20160722
4Andreas Hülsing 3Andreas Hülsing
@@ -7,6 +6,7 @@ Public domain.
7*/ 6*/
8 7
9#include "includes.h" 8#include "includes.h"
9#ifdef WITH_XMSS
10 10
11#include "xmss_commons.h" 11#include "xmss_commons.h"
12#include <stdlib.h> 12#include <stdlib.h>
diff --git a/xmss_fast.c b/xmss_fast.c
index 5e3a54314..577a9c3e3 100644
--- a/xmss_fast.c
+++ b/xmss_fast.c
@@ -1,4 +1,3 @@
1#ifdef WITH_XMSS
2/* 1/*
3xmss_fast.c version 20160722 2xmss_fast.c version 20160722
4Andreas Hülsing 3Andreas Hülsing
@@ -7,6 +6,7 @@ Public domain.
7*/ 6*/
8 7
9#include "includes.h" 8#include "includes.h"
9#ifdef WITH_XMSS
10 10
11#include "xmss_fast.h" 11#include "xmss_fast.h"
12#include <stdlib.h> 12#include <stdlib.h>
diff --git a/xmss_hash.c b/xmss_hash.c
index c8b271167..f90e0560c 100644
--- a/xmss_hash.c
+++ b/xmss_hash.c
@@ -1,4 +1,3 @@
1#ifdef WITH_XMSS
2/* 1/*
3hash.c version 20160722 2hash.c version 20160722
4Andreas Hülsing 3Andreas Hülsing
@@ -7,6 +6,7 @@ Public domain.
7*/ 6*/
8 7
9#include "includes.h" 8#include "includes.h"
9#ifdef WITH_XMSS
10 10
11#include "xmss_hash_address.h" 11#include "xmss_hash_address.h"
12#include "xmss_commons.h" 12#include "xmss_commons.h"
diff --git a/xmss_hash_address.c b/xmss_hash_address.c
index b970619e5..21ae1033d 100644
--- a/xmss_hash_address.c
+++ b/xmss_hash_address.c
@@ -1,4 +1,3 @@
1#ifdef WITH_XMSS
2/* 1/*
3hash_address.c version 20160722 2hash_address.c version 20160722
4Andreas Hülsing 3Andreas Hülsing
@@ -6,6 +5,7 @@ Joost Rijneveld
6Public domain. 5Public domain.
7*/ 6*/
8#include "includes.h" 7#include "includes.h"
8#ifdef WITH_XMSS
9 9
10#ifdef HAVE_STDINT_H 10#ifdef HAVE_STDINT_H
11#include <stdint.h> 11#include <stdint.h>
diff --git a/xmss_wots.c b/xmss_wots.c
index 8e0c07be7..7767a6561 100644
--- a/xmss_wots.c
+++ b/xmss_wots.c
@@ -1,4 +1,3 @@
1#ifdef WITH_XMSS
2/* 1/*
3wots.c version 20160722 2wots.c version 20160722
4Andreas Hülsing 3Andreas Hülsing
@@ -7,6 +6,7 @@ Public domain.
7*/ 6*/
8 7
9#include "includes.h" 8#include "includes.h"
9#ifdef WITH_XMSS
10 10
11#include <stdlib.h> 11#include <stdlib.h>
12#ifdef HAVE_STDINT_H 12#ifdef HAVE_STDINT_H