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>