diff options
author | Werner Koch <[email protected]> | 2025-07-16 12:27:34 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2025-07-16 12:27:34 +0000 |
commit | 55db12472f1cc7034a82932f271c94e4e61bc3dd (patch) | |
tree | 9396f45e0651d32ad98b8d6afa604e4cbdf56c05 | |
parent | Post release updates (diff) | |
download | gnupg-55db12472f1cc7034a82932f271c94e4e61bc3dd.tar.gz gnupg-55db12472f1cc7034a82932f271c94e4e61bc3dd.zip |
agent: Another fix for a regression with unknown curves and ssh
* agent/command-ssh.c (ssh_send_available_keys): Clear the error when
skipping.
--
Of course we need to clear the error so that in case the last key in
the array was skipped, that error is not returned by the function.
Updates-commit: 2469dc5aae671247100339493ad7919919a02db9
-rw-r--r-- | agent/command-ssh.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/agent/command-ssh.c b/agent/command-ssh.c index 6b872f1fa..9de88dc44 100644 --- a/agent/command-ssh.c +++ b/agent/command-ssh.c @@ -2769,6 +2769,7 @@ ssh_send_available_keys (ctrl_t ctrl, estream_t key_blobs, u32 *r_key_counter) * support at all but a smartcard lists that curve. * We ignore them. */ skipped++; + err = 0; } else goto leave; |