[openssh-commits] [openssh] 03/04: upstream: Use equality not assignment in ternary. CID 913600.
git+noreply at mindrot.org
git+noreply at mindrot.org
Thu Sep 17 04:32:27 AEST 2026
This is an automated email from the git hooks/post-receive script.
dtucker pushed a commit to branch master
in repository openssh.
commit 92120fec22e1b5df570c2d1860eee4613ed86e10
Author: dtucker at openbsd.org <dtucker at openbsd.org>
AuthorDate: Wed Sep 16 16:46:07 2026 +0000
upstream: Use equality not assignment in ternary. CID 913600.
OpenBSD-Commit-ID: 83253cc2a81886b513b2880ec634531635893a98
---
ssh-add.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ssh-add.c b/ssh-add.c
index fbddeb0f3..5ea75ae7a 100644
--- a/ssh-add.c
+++ b/ssh-add.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssh-add.c,v 1.189 2026/09/16 05:10:12 djm Exp $ */
+/* $OpenBSD: ssh-add.c,v 1.190 2026/09/16 16:46:07 dtucker Exp $ */
/*
* Author: Tatu Ylonen <ylo at cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo at cs.hut.fi>, Espoo, Finland
@@ -608,7 +608,7 @@ load_resident_keys(int agent_fd, const char *skprovider, int qflag, int no_pin,
pin = read_passphrase("Enter PIN for authenticator: ",
RP_ALLOW_STDIN);
}
- if ((r = sshsk_load_resident(skprovider, NULL, pin = NULL ? "" : pin,
+ if ((r = sshsk_load_resident(skprovider, NULL, pin == NULL ? "" : pin,
0, &srks, &nsrks)) != 0) {
error_r(r, "Unable to load resident keys");
return r;
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list