Skip to content

Commit

Permalink
upstream: set UpdateKnownHosts=ask by default; bz#2894; ok
Browse files Browse the repository at this point in the history
markus@

OpenBSD-Commit-ID: f09cb3177f3a14c96428e14f347e976a8a531fee
  • Loading branch information
djmdjm committed Jan 25, 2020
1 parent 7955633 commit c6f06fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions readconf.c
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>
* Copyright (c) 1995 Tatu Ylonen <[email protected]>, Espoo, Finland
Expand Down Expand Up @@ -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");
Expand Down

0 comments on commit c6f06fd

Please sign in to comment.