From nobody Wed Feb 08 23:34:16 2023 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PBxCr3SDPz3nPY1; Wed, 8 Feb 2023 23:34:16 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PBxCr2LVCz45y8; Wed, 8 Feb 2023 23:34:16 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675899256; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=NITqjLnKfZKjxGqNNVEhEYaqrorIQB23PhTZXmAF9Dg=; b=ZU11iL3Cj8ZWvPvsCb1Jkgm+Ozvhw4fg06QQw0DorzrIC/K8+40h/D77U4AN9Z2YwChQJV dOzzAIrLB9r9VbJSUBhkIoLhc1wmizyw3VXy+6A9F5/r8t/lyWFpw2pBTVrMzk/DR8kgrX GSTXmGC8OT5i1Mzh8VA59wOrOlg/zNRDgLInohow4M+ifbR3Wl+9rA+nJJuLkdfp34QRS9 SNy9Zc1vV/RYW+jesRuGqY0/MJqcF2QNYyJh1Y3u1qr3cISS+lRHqVMs0l0IaMDAnteNZr fZ0IYxf97ICuokbKlx8lKt1zFrcxmV0OnVHXwE0Z5tV0SOiFqfZbtmEj+RdL9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675899256; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=NITqjLnKfZKjxGqNNVEhEYaqrorIQB23PhTZXmAF9Dg=; b=GEzv0Wu5wLmZ2eWRKTLXPjTMP/IiizkK3b67righIN6fvlLbZymqNVXU30rO11hReDzsAC ItQh0qlGyyH4r5Tck4BLKFIscmL1tbXNAgPJ7gIhZZ/QNJF1ghwl9sUWsDFlFDekLkYtaC Zcc6EMqElFCMkF7L80G/1yMKp9lpwKnvDhG2Fny0OLBZ1/4dzG5bnGckK/UC0V1hicg1cs XOhyaVqGjNBffGYxBEqvDcB3hCcXo1y8UHpnLLqzp8+uz4wWFP/ORCVugYmcOgft0wLfcd Sp4N0+hKVI5zcsJRV9DHU6b0r85aUjH6PRCr+jPElqb+Vh5fXXlENBGlOliFpA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1675899256; a=rsa-sha256; cv=none; b=a2a898PNvsHSu6Yq6NXg2/P46ixW6Mr3ch5cDC2cauMwb276V2gatYyP8gxV+CEIyl5RxU uNBCB31ll2gRyAURPmrbD41HKN67VlzRHvmCutZL5Ym+f7DIwa8m6Maf4B3jB3QhQaKJNL t5TwY71I8uzVNnj2j6FT+pmQrnrcLGbk23Pitq+mJgDGFRWEki1GJESWn/AN1HGPKBni6F YTM7i1Bi3NuwzS5TUIaJ6lMf1wJuo2aw9aUjyEU1qkdYzdyzTUKpQ0Mtza3KWi71LW4YCB /7iSKq3kQpzHGpx/ToahCUwr8fkmE+XLZ05E8Uwq+ucWWS6JrXk5SIMYZ9wHaQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4PBxCr1KDnzG7p; Wed, 8 Feb 2023 23:34:16 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 318NYGK6081477; Wed, 8 Feb 2023 23:34:16 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 318NYGF8081476; Wed, 8 Feb 2023 23:34:16 GMT (envelope-from git) Date: Wed, 8 Feb 2023 23:34:16 GMT Message-Id: <202302082334.318NYGF8081476@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Ed Maste Subject: git: 1aa9a35f6361 - main - ssh: fix SIZEOF_TIME_T #define on i386 List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: emaste X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 1aa9a35f6361cc898e2323e1f2823771eb4161da Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=1aa9a35f6361cc898e2323e1f2823771eb4161da commit 1aa9a35f6361cc898e2323e1f2823771eb4161da Author: Ed Maste AuthorDate: 2023-02-08 18:31:44 +0000 Commit: Ed Maste CommitDate: 2023-02-08 23:34:09 +0000 ssh: fix SIZEOF_TIME_T #define on i386 Reported by: imp Reviewed by: imp MFC after: 3 days Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D38443 --- crypto/openssh/config.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/crypto/openssh/config.h b/crypto/openssh/config.h index 582c8b09a9d7..2c576da3a38c 100644 --- a/crypto/openssh/config.h +++ b/crypto/openssh/config.h @@ -1941,7 +1941,11 @@ #define SIZEOF_SHORT_INT 2 /* The size of `time_t', as computed by sizeof. */ +#ifdef __i386__ +#define SIZEOF_TIME_T 4 +#else #define SIZEOF_TIME_T 8 +#endif /* Define as const if snprintf() can declare const char *fmt */ #define SNPRINTF_CONST const