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:32:07 +0000 (10:32 +0900)
commitc771963140cad7c1c25349bcde27e427effc0058
treeb72cea08a59839a9b65329181ac1073626891783
parent5038276fc47ca8406eb41c640d96f8ec7d2f5f88
g10: detects public key encryption packet error properly.

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