From: djm@openbsd.org Date: Tue, 21 Jul 2026 05:21:29 +0000 (+0000) Subject: upstream: s/= - 1/= -1/; from serity--- X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=752b4e3bd958a05ec025d72504fc8938b2be37f9;p=thirdparty%2Fopenssh-portable.git upstream: s/= - 1/= -1/; from serity--- OpenBSD-Commit-ID: d003b300b0062d8e5951b84e8e09bd8d98cfe562 --- diff --git a/readconf.c b/readconf.c index cf60b5445..ecabd8389 100644 --- a/readconf.c +++ b/readconf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: readconf.c,v 1.414 2026/07/11 11:15:03 naddy Exp $ */ +/* $OpenBSD: readconf.c,v 1.415 2026/07/21 05:21:29 djm Exp $ */ /* * Author: Tatu Ylonen * Copyright (c) 1995 Tatu Ylonen , Espoo, Finland @@ -2768,10 +2768,10 @@ initialize_options(Options * options) options->bind_interface = NULL; options->pkcs11_provider = NULL; options->sk_provider = NULL; - options->enable_ssh_keysign = - 1; - options->no_host_authentication_for_localhost = - 1; - options->identities_only = - 1; - options->rekey_limit = - 1; + options->enable_ssh_keysign = -1; + options->no_host_authentication_for_localhost = -1; + options->identities_only = -1; + options->rekey_limit = -1; options->rekey_interval = -1; options->verify_host_key_dns = -1; options->server_alive_interval = -1; @@ -2956,7 +2956,7 @@ fill_default_options(Options * options) options->log_level = SYSLOG_LEVEL_INFO; if (options->log_facility == SYSLOG_FACILITY_NOT_SET) options->log_facility = SYSLOG_FACILITY_USER; - if (options->no_host_authentication_for_localhost == - 1) + if (options->no_host_authentication_for_localhost == -1) options->no_host_authentication_for_localhost = 0; if (options->identities_only == -1) options->identities_only = 0;