[openssh-commits] [openssh] branch master updated: upstream: Cast signalled_keydrop to int when logging to prevent warning
git+noreply at mindrot.org
git+noreply at mindrot.org
Tue Apr 15 20:43:35 AEST 2025
This is an automated email from the git hooks/post-receive script.
dtucker pushed a commit to branch master
in repository openssh.
The following commit(s) were added to refs/heads/master by this push:
new 1ec5b39f1 upstream: Cast signalled_keydrop to int when logging to prevent warning
1ec5b39f1 is described below
commit 1ec5b39f1f673beac039bb42c98a11aa2b08a0b2
Author: dtucker at openbsd.org <dtucker at openbsd.org>
AuthorDate: Tue Apr 15 09:22:25 2025 +0000
upstream: Cast signalled_keydrop to int when logging to prevent warning
on platforms where sig_atomic_t is not the same as int. bz#3811, patch from
jlduran at gmail com.
OpenBSD-Commit-ID: b6bc9e9006e7f81ade57d41a48623a4323deca6c
---
ssh-agent.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ssh-agent.c b/ssh-agent.c
index c27c5a956..55b9f44f4 100644
--- a/ssh-agent.c
+++ b/ssh-agent.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssh-agent.c,v 1.310 2025/02/18 08:02:48 djm Exp $ */
+/* $OpenBSD: ssh-agent.c,v 1.311 2025/04/15 09:22:25 dtucker Exp $ */
/*
* Author: Tatu Ylonen <ylo at cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo at cs.hut.fi>, Espoo, Finland
@@ -2526,7 +2526,7 @@ skip:
}
if (signalled_keydrop) {
logit("signal %d received; removing all keys",
- signalled_keydrop);
+ (int)signalled_keydrop);
remove_all_identities();
signalled_keydrop = 0;
}
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list