2005-01-28 Moritz Schulte <moritz@g10code.com>
authorMoritz Schulte <mo@g10code.com>
Fri, 28 Jan 2005 19:57:14 +0000 (19:57 +0000)
committerMoritz Schulte <mo@g10code.com>
Fri, 28 Jan 2005 19:57:14 +0000 (19:57 +0000)
commit2b8e9bc5c542316aa9537d4846268d785a7787ae
tree112f1c994f5a9092f41825b538cd6dccc4aa7ff2
parent8bcf546b143decc021bb0adb374390230597a406
2005-01-28  Moritz Schulte  <moritz@g10code.com>

* command-ssh.c (ssh_handler_add_identity): Pass ctrl to
ssh_identity_register().
(ssh_identity_register): New argument: ctrl; pass ctrl to
get_passphrase().
(get_passphrase): Pass ctrl instead of NULL to agent_askpin().
(start_command_handler_ssh): Use agent_init_default_ctrl();
deallocate structure members, which might be dynamically
allocated.
(lifetime_default): Removed variable.
(ssh_handler_add_identity): Fix ttl handling; renamed variable
`death' to `ttl'.
(ssh_identity_register): Fix key grip handling.
agent/ChangeLog
agent/command-ssh.c