mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-03 12:11:33 +01:00
2005-01-26 Moritz Schulte <moritz@g10code.com>
* command-ssh.c (ssh_handler_sign_request): Confirm to agent protocol in case of failure.
This commit is contained in:
parent
e776d52ba5
commit
0cb7a855ab
@ -1,6 +1,10 @@
|
||||
2005-01-26 Moritz Schulte <moritz@g10code.com>
|
||||
|
||||
* command-ssh.c (ssh_handler_sign_request): Confirm to agent
|
||||
protocol in case of failure.
|
||||
|
||||
* command-ssh.c: New file.
|
||||
|
||||
* Makefile.am (gpg_agent_SOURCES): New source file: command-ssh.c.
|
||||
|
||||
* findkey.c (modify_description): New function.
|
||||
|
@ -1706,15 +1706,15 @@ ssh_handler_sign_request (ctrl_t ctrl, estream_t request, estream_t response)
|
||||
if (! bad)
|
||||
{
|
||||
/* Done. */
|
||||
if (! err)
|
||||
{
|
||||
es_write_byte (response, SSH_RESPONSE_SIGN_RESPONSE);
|
||||
if (! es_ferror (response))
|
||||
{
|
||||
if (! err)
|
||||
es_write_string (response, sig, sig_n);
|
||||
}
|
||||
else
|
||||
es_write_byte (response, SSH_RESPONSE_FAILURE);
|
||||
}
|
||||
}
|
||||
|
||||
gcry_sexp_release (key);
|
||||
xfree (key_blob);
|
||||
|
Loading…
x
Reference in New Issue
Block a user