gpg: Make sure that internal key import is done with a binary stream.
authorWerner Koch <wk@gnupg.org>
Wed, 28 Sep 2016 11:36:28 +0000 (13:36 +0200)
committerWerner Koch <wk@gnupg.org>
Wed, 28 Sep 2016 11:36:28 +0000 (13:36 +0200)
commit829949f3823c2306022928ce782f9c9d9c5f1cc8
tree5a71aee3fd91cf34daf3a055c8b3a86690efeb88
parent20a16833ee2bb05f735377f705899302bcf2b4d3
gpg: Make sure that internal key import is done with a binary stream.

* g10/import.c (import_keys_internal): Open stream in binary mode.

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