From: dtucker@openbsd.org Date: Thu, 14 Aug 2025 09:26:53 +0000 (+0000) Subject: upstream: Cast serial no for %lld to prevent compiler warnings on some X-Git-Tag: V_10_1_P1~160 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fde5a4d2cd01bea700439fa6d5bbad88e65c99bd;p=thirdparty%2Fopenssh-portable.git upstream: Cast serial no for %lld to prevent compiler warnings on some platforms. OpenBSD-Commit-ID: 15644234b58abc9c6da2994f0422a5aa344a9e89 --- diff --git a/auth2-hostbased.c b/auth2-hostbased.c index e28134a1a..9d8b860eb 100644 --- a/auth2-hostbased.c +++ b/auth2-hostbased.c @@ -1,4 +1,4 @@ -/* $OpenBSD: auth2-hostbased.c,v 1.54 2025/08/06 04:53:04 djm Exp $ */ +/* $OpenBSD: auth2-hostbased.c,v 1.55 2025/08/14 09:26:53 dtucker Exp $ */ /* * Copyright (c) 2000 Markus Friedl. All rights reserved. * @@ -217,7 +217,8 @@ hostbased_key_allowed(struct ssh *ssh, struct passwd *pw, options.fingerprint_hash, SSH_FP_DEFAULT)) == NULL) fatal_f("sshkey_fingerprint fail"); error("Refusing certificate ID \"%s\" serial=%llu signed by " - "%s CA %s: %s", key->cert->key_id, key->cert->serial, + "%s CA %s: %s", key->cert->key_id, + (unsigned long long)key->cert->serial, sshkey_type(key->cert->signature_key), fp, reason); auth_debug_add("Refused Certificate ID \"%s\" serial=%llu: %s", key->cert->key_id, (unsigned long long)key->cert->serial,