Home GnuPG
Diffusion GnuPG d6f0f3687630

agent: Improve error message for the KEYTOCARD command.
d6f0f3687630Unpublished

Unpublished Commit · Learn More

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

Description

agent: Improve error message for the KEYTOCARD command.

* agent/command.c (cmd_keytocard): Always use leave_cmd.  Simplify
timestamp checking and do an early test with an appropriate error
message.
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Mar 2 2017, 12:29 PM
Parents
rG62d21a4ab402: g10: Signal an error when trying to revoke non-existant UID.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rGd6f0f3687630: agent: Improve error message for the KEYTOCARD command. (authored by Werner Koch <wk@gnupg.org>).Mar 2 2017, 12:29 PM