Home GnuPG
Diffusion GnuPG f382984966a3

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.
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

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