gpg: Change armor Version header to emit only the major version.
authorWerner Koch <wk@gnupg.org>
Wed, 27 Nov 2013 08:20:02 +0000 (09:20 +0100)
committerWerner Koch <wk@gnupg.org>
Wed, 27 Nov 2013 08:20:02 +0000 (09:20 +0100)
commite951782e937ce290be0d89d83e84b3daea997587
tree07d7833eb28a3ad344592395bc685efe8aebf046
parentcc9a0b69b698ba436eaf777e5020532845b56236
gpg: Change armor Version header to emit only the major version.

* g10/options.h (opt): Rename field no_version to emit_version.
* g10/gpg.c (main): Init opt.emit_vesion to 1.  Change --emit-version
to bump up opt.emit_version.
* g10/armor.c (armor_filter): Implement different --emit-version
values.
--

GnuPG-bug-id: 1572
Signed-off-by: Werner Koch <wk@gnupg.org>
NEWS
doc/gpg.texi
g10/armor.c
g10/gpg.c
g10/options.h