[openssh-commits] [openssh] 01/03: upstream: Cast serial no for %lld to prevent compiler warnings on some

git+noreply at mindrot.org git+noreply at mindrot.org
Thu Aug 14 20:52:44 AEST 2025


This is an automated email from the git hooks/post-receive script.

dtucker pushed a commit to branch master
in repository openssh.

commit fde5a4d2cd01bea700439fa6d5bbad88e65c99bd
Author: dtucker at openbsd.org <dtucker at openbsd.org>
AuthorDate: Thu Aug 14 09:26:53 2025 +0000

    upstream: Cast serial no for %lld to prevent compiler warnings on some
    
    platforms.
    
    OpenBSD-Commit-ID: 15644234b58abc9c6da2994f0422a5aa344a9e89
---
 auth2-hostbased.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

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,

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list