gpg: Fix "can't handle public key algorithm" warning.
authorWerner Koch <wk@gnupg.org>
Wed, 20 Aug 2014 07:59:36 +0000 (09:59 +0200)
committerWerner Koch <wk@gnupg.org>
Wed, 20 Aug 2014 07:59:36 +0000 (09:59 +0200)
commitcb680c5ea540738692a5c74951802b0fdc658e85
treede04cf99fcc0e48e0faed7293701677ef678d212
parent31649e72fd106a990614ce3cf720640a841ba722
gpg: Fix "can't handle public key algorithm" warning.

* g10/parse-packet.c (unknown_pubkey_warning): Check for encr/sign
capabilities.
g10/parse-packet.c