g10: detects public key encryption packet error properly.
authorNIIBE Yutaka <gniibe@fsij.org>
Tue, 19 May 2015 01:32:07 +0000 (10:32 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Tue, 19 May 2015 01:43:33 +0000 (10:43 +0900)
commit80b6d614b7b53058da11ae239e8f1c69f167a200
tree34d72549dab74c8eb2fa3643c0bcaeb0aa1cdb36
parent76e2aa739c0c75a9de7059daebdf2823582d8b24
g10: detects public key encryption packet error properly.

g10/mainproc.c (proc_pubkey_enc): Only allow relevant algorithms for
encryption.

--

(backport from 2.1 commit c771963140cad7c1c25349bcde27e427effc0058)
g10/mainproc.c