summaryrefslogtreecommitdiffstats
path: root/servconf.c
diff options
context:
space:
mode:
authormarkus@openbsd.org <markus@openbsd.org>2018-03-01 21:32:16 +0100
committerDamien Miller <djm@mindrot.org>2018-03-02 04:30:15 +0100
commit5886b92968b360623491699247caddfb77a74d80 (patch)
tree2f9cb53aa78226f2494b7cdc03c9386e68148219 /servconf.c
parentupstream: Remove unneeded (local) include. ok markus@ (diff)
downloadopenssh-5886b92968b360623491699247caddfb77a74d80.tar.xz
openssh-5886b92968b360623491699247caddfb77a74d80.zip
upstream: missing #ifdef for _PATH_HOST_XMSS_KEY_FILE; report by
jmc@ OpenBSD-Commit-ID: 9039cb69a3f9886bfef096891a9e7fcbd620280b
Diffstat (limited to 'servconf.c')
-rw-r--r--servconf.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/servconf.c b/servconf.c
index c87a9a2b6..0f0d09068 100644
--- a/servconf.c
+++ b/servconf.c
@@ -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
* All rights reserved
@@ -253,8 +253,10 @@ fill_default_server_options(ServerOptions *options)
#endif
servconf_add_hostkey("[default]", 0, options,
_PATH_HOST_ED25519_KEY_FILE);
+#ifdef WITH_XMSS
servconf_add_hostkey("[default]", 0, options,
_PATH_HOST_XMSS_KEY_FILE);
+#endif /* WITH_XMSS */
}
/* No certificates by default */
if (options->num_ports == 0)