Home GnuPG
Diffusion GnuPG b78f293cf06f

common: Provide some convenient OpenPGP related constants.

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

Provenance
wernerAuthored on Jan 29 2019, 6:20 PM
Parents
rGdddbb26155f2: common: New helper functions for OpenPGP curve OIDs.
Branches
Unknown
Tags
Unknown