Home GnuPG

core: New pseudo option ARGPARSE_PERMISSION_ERROR.

Description

core: New pseudo option ARGPARSE_PERMISSION_ERROR.

* src/gpg-error.h.in (ARGPARSE_PERMISSION_ERROR): New.
* src/argparse.c (initialize): Add code to print this error.

We need this option to reject certain config files if we detect a
permission problem.

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

Details

Provenance
wernerAuthored on Feb 25 2020, 12:17 PM
Parents
rE732ac9c681a0: w32: Fix exporting gpgrt_argparser.
Branches
Unknown
Tags
Unknown