upstream: missing #ifdef for _PATH_HOST_XMSS_KEY_FILE; report by
jmc@ OpenBSD-Commit-ID: 9039cb69a3f9886bfef096891a9e7fcbd620280b
This commit is contained in:
parent
3b36bed3d2
commit
5886b92968
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
/* $OpenBSD: servconf.c,v 1.325 2018/02/23 15:58:37 markus Exp $ */
|
/* $OpenBSD: servconf.c,v 1.326 2018/03/01 20:32:16 markus Exp $ */
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
|
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
|
||||||
* All rights reserved
|
* All rights reserved
|
||||||
|
@ -253,8 +253,10 @@ fill_default_server_options(ServerOptions *options)
|
||||||
#endif
|
#endif
|
||||||
servconf_add_hostkey("[default]", 0, options,
|
servconf_add_hostkey("[default]", 0, options,
|
||||||
_PATH_HOST_ED25519_KEY_FILE);
|
_PATH_HOST_ED25519_KEY_FILE);
|
||||||
|
#ifdef WITH_XMSS
|
||||||
servconf_add_hostkey("[default]", 0, options,
|
servconf_add_hostkey("[default]", 0, options,
|
||||||
_PATH_HOST_XMSS_KEY_FILE);
|
_PATH_HOST_XMSS_KEY_FILE);
|
||||||
|
#endif /* WITH_XMSS */
|
||||||
}
|
}
|
||||||
/* No certificates by default */
|
/* No certificates by default */
|
||||||
if (options->num_ports == 0)
|
if (options->num_ports == 0)
|
||||||
|
|
Loading…
Reference in New Issue