Home GnuPG
Diffusion GnuPG ac5a1a3ccb7c

agent: API change of agent_key_from_file.
ac5a1a3ccb7cUnpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

agent: API change of agent_key_from_file.

* agent/findkey.c (agent_key_from_file): Always return S-expression.
* agent/command.c (cmd_passwd): Distinguish by SHADOW_INFO.
(cmd_export_key): Likewise.  Free SHADOW_INFO.
(cmd_keytocard): Likewise.  Release S_SKEY.
* agent/pkdecrypt.c (agent_pkdecrypt): Likewise.
* agent/pksign.c (agent_pksign_do): Likewise.  Use the S-expression to
know the key type.
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Mar 4 2014, 3:54 AM
Parents
rG57d26f39afb3: Backport useful code from fixes for bug 1447.
Branches
Unknown
Tags
Unknown

Event Timeline

NIIBE Yutaka <gniibe@fsij.org> committed rGac5a1a3ccb7c: agent: API change of agent_key_from_file. (authored by NIIBE Yutaka <gniibe@fsij.org>).Mar 11 2014, 8:03 AM