Diffusion GnuPG b78f293cf06f

common: Provide some convenient OpenPGP related constants.

Authored by werner on Tue, Jan 29, 6:20 PM.

Description

common: Provide some convenient OpenPGP related constants.

* common/openpgpdefs.h (OPENPGP_MAX_NPKEY): New.
(OPENPGP_MAX_NSKEY): New.
(OPENPGP_MAX_NSIG): New.
(OPENPGP_MAX_NENC): New.
* g10/packet.h: Define PUBKEY_MAX using the new consts.

(cherry picked from commit f382984966a31a4cbe572bce5370590c5490ed1e)

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Committed
wernerTue, Jan 29, 8:18 PM
Parents
rGdddbb26155f2: common: New helper functions for OpenPGP curve OIDs.
Branches
Unknown
Tags
Unknown