]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
upstream: don't treat HostKeyAgent=none as a path either; avoids
authordjm@openbsd.org <djm@openbsd.org>
Sun, 15 Dec 2019 20:59:23 +0000 (20:59 +0000)
committerDamien Miller <djm@mindrot.org>
Mon, 16 Dec 2019 03:19:41 +0000 (14:19 +1100)
spurious warnings from the cfgparse regress test

OpenBSD-Commit-ID: ba49ea7a5c92b8a16cb9c2e975dbb163853afc54

servconf.c

index 9fe02d7e8609441ca06955439b82e27f967e0154..09e9df8bd648cc6f8adce3cb4a0529768d7952cd 100644 (file)
@@ -1,5 +1,5 @@
 
-/* $OpenBSD: servconf.c,v 1.356 2019/12/15 20:57:15 djm Exp $ */
+/* $OpenBSD: servconf.c,v 1.357 2019/12/15 20:59:23 djm Exp $ */
 /*
  * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
  *                    All rights reserved
@@ -455,6 +455,7 @@ fill_default_server_options(ServerOptions *options)
        CLEAR_ON_NONE(options->adm_forced_command);
        CLEAR_ON_NONE(options->chroot_directory);
        CLEAR_ON_NONE(options->routing_domain);
+       CLEAR_ON_NONE(options->host_key_agent);
        for (i = 0; i < options->num_host_key_files; i++)
                CLEAR_ON_NONE(options->host_key_files[i]);
        for (i = 0; i < options->num_host_cert_files; i++)