Home GnuPG
Diffusion GnuPG dafffa95b231

gpg: Report STATUS_NO_SECKEY when it is examined.

Description

gpg: Report STATUS_NO_SECKEY when it is examined.

* g10/packet.h (struct pubkey_enc_list): Add result.
* g10/mainproc.c (proc_pubkey_enc): Initialize ->result.
(proc_encrypted): Report STATUS_NO_SECKEY status.
* g10/pubkey-enc.c (get_session_key): Set ->result.

This change is for GPGME compatibility. Before this change,
gpgme/tests/json/t-json failed with t-decrypt-verify.

  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Jan 16 2019, 2:27 AM
Parents
rG6c000d4b78b8: doc: Mark keyserver-options timeout and http-proxy as obsolete.
Branches
Unknown
Tags
Unknown