common: Skip the Byte Order Mark in conf files.
authorWerner Koch <wk@gnupg.org>
Thu, 8 Dec 2016 19:25:48 +0000 (20:25 +0100)
committerWerner Koch <wk@gnupg.org>
Thu, 8 Dec 2016 19:25:48 +0000 (20:25 +0100)
commit5c7d58222834793629a30248e72b6ea96e832dc4
treeb8a2ff5ee8ad7b2221b02a20f660220c1454117e
parentcb4c7abb774e2d95806d8b0ec6ea5cd130c1b5b8
common: Skip the Byte Order Mark in conf files.

* common/argparse.c (optfile_parse): Detect and skip the UTF-8 BOM.

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