From 5886b92968b360623491699247caddfb77a74d80 Mon Sep 17 00:00:00 2001 From: "markus@openbsd.org" Date: Thu, 1 Mar 2018 20:32:16 +0000 Subject: [PATCH] upstream: missing #ifdef for _PATH_HOST_XMSS_KEY_FILE; report by jmc@ OpenBSD-Commit-ID: 9039cb69a3f9886bfef096891a9e7fcbd620280b --- servconf.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 , 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)