aboutsummaryrefslogtreecommitdiffstats
path: root/g10/t-keydb-get-keyblock.c
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2019-07-12 00:26:00 +0000
committerNIIBE Yutaka <[email protected]>2019-07-12 00:26:00 +0000
commit89303b9998ea30d87b4c60dd48097dbe5e986a89 (patch)
tree280e8267f4c829f1f6ff76f11715b13c2d0e8ce5 /g10/t-keydb-get-keyblock.c
parentagent: Relax the handling of pinentry error for keyboard grab. (diff)
downloadgnupg-89303b9998ea30d87b4c60dd48097dbe5e986a89.tar.gz
gnupg-89303b9998ea30d87b4c60dd48097dbe5e986a89.zip
gpg: Don't try decryption by session key when NULL.
* g10/mainproc.c (proc_encrypted): Only call get_session_key when PKENC_LIST is not NULL. Return GPG_ERR_BAD_KEY, instead of GPG_ERR_NO_SECKEY, when it's encrypted only by symmetric key. Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'g10/t-keydb-get-keyblock.c')
0 files changed, 0 insertions, 0 deletions