gpgsm: Allow decryption with a card returning a PKCS#1 stripped key.
authorWerner Koch <wk@gnupg.org>
Tue, 29 Nov 2016 18:19:45 +0000 (19:19 +0100)
committerWerner Koch <wk@gnupg.org>
Tue, 29 Nov 2016 18:19:55 +0000 (19:19 +0100)
commit8489b12211098ad58c008cfb74b5cb91849cf68d
treed909ae0ad861f110d17521d4a3d34977959808ff
parent81d6e98cdf4caa3aa92398fc3b8bed397b40f58d
gpgsm: Allow decryption with a card returning a PKCS#1 stripped key.

* sm/decrypt.c (prepare_decryption): Handle a 16 byte session key.
--

GnuPG-bug-id: 2230
Signed-off-by: Werner Koch <wk@gnupg.org>
sm/decrypt.c