diff options
| author | NIIBE Yutaka <[email protected]> | 2019-07-12 00:26:00 +0000 |
|---|---|---|
| committer | NIIBE Yutaka <[email protected]> | 2019-07-12 00:26:00 +0000 |
| commit | 89303b9998ea30d87b4c60dd48097dbe5e986a89 (patch) | |
| tree | 280e8267f4c829f1f6ff76f11715b13c2d0e8ce5 /scd/scdaemon.c | |
| parent | agent: Relax the handling of pinentry error for keyboard grab. (diff) | |
| download | gnupg-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 'scd/scdaemon.c')
0 files changed, 0 insertions, 0 deletions
