]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
upstream: set UpdateKnownHosts=ask by default; bz#2894; ok
authordjm@openbsd.org <djm@openbsd.org>
Sat, 25 Jan 2020 00:22:31 +0000 (00:22 +0000)
committerDamien Miller <djm@mindrot.org>
Sat, 25 Jan 2020 00:36:20 +0000 (11:36 +1100)
markus@

OpenBSD-Commit-ID: f09cb3177f3a14c96428e14f347e976a8a531fee

readconf.c

index b259845480c62f510584c2b1015ff8c16892d98a..36312d5839a2dea27ff0de15f20abf13c2192811 100644 (file)
@@ -1,4 +1,4 @@
-/* $OpenBSD: readconf.c,v 1.322 2020/01/23 10:24:29 dtucker Exp $ */
+/* $OpenBSD: readconf.c,v 1.323 2020/01/25 00:22:31 djm Exp $ */
 /*
  * Author: Tatu Ylonen <ylo@cs.hut.fi>
  * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -2171,7 +2171,7 @@ fill_default_options(Options * options)
        if (options->fingerprint_hash == -1)
                options->fingerprint_hash = SSH_FP_HASH_DEFAULT;
        if (options->update_hostkeys == -1)
-               options->update_hostkeys = 0;
+               options->update_hostkeys = SSH_UPDATE_HOSTKEYS_ASK;
 #ifdef ENABLE_SK_INTERNAL
        if (options->sk_provider == NULL)
                options->sk_provider = xstrdup("internal");