Home GnuPG
Diffusion GnuPG fd5f45249602

gpg: Change armor Version header to emit only the major version.
fd5f45249602Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

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.

(cherry picked from commit e951782e937ce290be0d89d83e84b3daea997587)

Resolved conflicts:
NEWS
g10/armor.c
g10/gpg.c

  • GnuPG-bug-id: T1572
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Nov 27 2013, 9:20 AM
Parents
rG571bcd4662a3: common: Fix build problem with Sun Studio compiler.
Branches
Unknown
Tags
Unknown

Event Timeline