mirror of
git://anongit.mindrot.org/openssh.git
synced 2024-12-22 01:50:16 +00:00
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.
This commit is contained in:
parent
a10d8552d0
commit
941e0d3e9b
@ -16,6 +16,7 @@
|
||||
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
#include "includes.h"
|
||||
#ifdef WITH_XMSS
|
||||
|
||||
#define SSHKEY_INTERNAL
|
||||
#include <sys/types.h>
|
||||
@ -188,3 +189,4 @@ ssh_xmss_verify(const struct sshkey *key,
|
||||
free(ktype);
|
||||
return r;
|
||||
}
|
||||
#endif /* WITH_XMSS */
|
||||
|
@ -1,4 +1,3 @@
|
||||
#ifdef WITH_XMSS
|
||||
/* $OpenBSD: sshkey-xmss.c,v 1.1 2018/02/23 15:58:38 markus Exp $ */
|
||||
/*
|
||||
* Copyright (c) 2017 Markus Friedl. All rights reserved.
|
||||
@ -25,6 +24,7 @@
|
||||
*/
|
||||
|
||||
#include "includes.h"
|
||||
#ifdef WITH_XMSS
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/uio.h>
|
||||
|
@ -1,4 +1,3 @@
|
||||
#ifdef WITH_XMSS
|
||||
/*
|
||||
xmss_commons.c 20160722
|
||||
Andreas Hülsing
|
||||
@ -7,6 +6,7 @@ Public domain.
|
||||
*/
|
||||
|
||||
#include "includes.h"
|
||||
#ifdef WITH_XMSS
|
||||
|
||||
#include "xmss_commons.h"
|
||||
#include <stdlib.h>
|
||||
|
@ -1,4 +1,3 @@
|
||||
#ifdef WITH_XMSS
|
||||
/*
|
||||
xmss_fast.c version 20160722
|
||||
Andreas Hülsing
|
||||
@ -7,6 +6,7 @@ Public domain.
|
||||
*/
|
||||
|
||||
#include "includes.h"
|
||||
#ifdef WITH_XMSS
|
||||
|
||||
#include "xmss_fast.h"
|
||||
#include <stdlib.h>
|
||||
|
@ -1,4 +1,3 @@
|
||||
#ifdef WITH_XMSS
|
||||
/*
|
||||
hash.c version 20160722
|
||||
Andreas Hülsing
|
||||
@ -7,6 +6,7 @@ Public domain.
|
||||
*/
|
||||
|
||||
#include "includes.h"
|
||||
#ifdef WITH_XMSS
|
||||
|
||||
#include "xmss_hash_address.h"
|
||||
#include "xmss_commons.h"
|
||||
|
@ -1,4 +1,3 @@
|
||||
#ifdef WITH_XMSS
|
||||
/*
|
||||
hash_address.c version 20160722
|
||||
Andreas Hülsing
|
||||
@ -6,6 +5,7 @@ Joost Rijneveld
|
||||
Public domain.
|
||||
*/
|
||||
#include "includes.h"
|
||||
#ifdef WITH_XMSS
|
||||
|
||||
#ifdef HAVE_STDINT_H
|
||||
#include <stdint.h>
|
||||
|
@ -1,4 +1,3 @@
|
||||
#ifdef WITH_XMSS
|
||||
/*
|
||||
wots.c version 20160722
|
||||
Andreas Hülsing
|
||||
@ -7,6 +6,7 @@ Public domain.
|
||||
*/
|
||||
|
||||
#include "includes.h"
|
||||
#ifdef WITH_XMSS
|
||||
|
||||
#include <stdlib.h>
|
||||
#ifdef HAVE_STDINT_H
|
||||
|
Loading…
Reference in New Issue
Block a user