gpg: Fix export problem in case an old keyring has PGP-2 keys.
authorWerner Koch <wk@gnupg.org>
Fri, 19 Jun 2015 10:39:29 +0000 (12:39 +0200)
committerWerner Koch <wk@gnupg.org>
Fri, 19 Jun 2015 10:39:29 +0000 (12:39 +0200)
commitc5604eeee4b64a44a1ca1d517ace14fc1cbda298
tree53f96d7f74914186bfacb074a619f0238bc1e44e
parentc97198371b7307e64afdd323231977b2247f64ec
gpg: Fix export problem in case an old keyring has PGP-2 keys.

* g10/export.c (do_export_stream): Skip legacy keys.

Signed-off-by: Werner Koch <wk@gnupg.org>
g10/export.c