Home GnuPG
Diffusion GnuPG 3da47d19df89

agent: Fix returning GPG_ERR_NOT_FOUND wrongly.

Description

agent: Fix returning GPG_ERR_NOT_FOUND wrongly.

* agent/learncard.c (agent_handle_learn): Find SERIALNO.

Bug is: "gpg-connect-agent learn /bye" just fails wrongly.

(cherry picked from commit 5e96fe72e477d09e35ccee48af0fd9ab2b3ae409)

Details

Provenance
gniibeAuthored on Nov 2 2017, 8:23 AM
wernerCommitted on Nov 2 2017, 5:04 PM
Parents
rG0e5bd473a07f: common: Accept the Z-suffix for yymmddThhmmssZ format.
Branches
Unknown
Tags
Unknown