mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-21 14:47:03 +01:00
Change default for --include-certs to -2.
This commit is contained in:
parent
b676b720e7
commit
651b5eeda2
3
NEWS
3
NEWS
@ -1,6 +1,9 @@
|
||||
Noteworthy changes in version 2.0.14
|
||||
-------------------------------------------------
|
||||
|
||||
* The default for --inlucde-cert is now to include all certificates
|
||||
in the chain except for the root certificate.
|
||||
|
||||
|
||||
Noteworthy changes in version 2.0.13 (2009-09-04)
|
||||
-------------------------------------------------
|
||||
|
@ -560,7 +560,7 @@ Using @var{n} of -2 includes all certificate except for the root cert,
|
||||
-1 includes all certs, 0 does not include any certs, 1 includes only
|
||||
the signers cert (this is the default) and all other positive
|
||||
values include up to @var{n} certificates starting with the signer cert.
|
||||
|
||||
The default is -2.
|
||||
|
||||
@item --cipher-algo @var{oid}
|
||||
@opindex cipher-algo
|
||||
|
@ -1,3 +1,8 @@
|
||||
2009-10-16 Werner Koch <wk@g10code.com>
|
||||
|
||||
* gpgsm.c (DEFAULT_INCLUDE_CERTS): New.
|
||||
(default_include_certs): Init to -2.
|
||||
|
||||
2009-08-06 Werner Koch <wk@g10code.com>
|
||||
|
||||
* sign.c (gpgsm_sign): Print INV_SNDR for a bad default key.
|
||||
|
10
sm/gpgsm.c
10
sm/gpgsm.c
@ -402,8 +402,11 @@ static unsigned int debug_value;
|
||||
/* Option --enable-special-filenames */
|
||||
static int allow_special_filenames;
|
||||
|
||||
/* Default value for include-certs. */
|
||||
static int default_include_certs = 1; /* Only include the signer's cert. */
|
||||
/* Default value for include-certs. We need an extra macro for
|
||||
gpgconf-list because the variable will be changed by the command
|
||||
line option. */
|
||||
#define DEFAULT_INCLUDE_CERTS -2 /* Include all certs but root. */
|
||||
static int default_include_certs = DEFAULT_INCLUDE_CERTS;
|
||||
|
||||
/* Whether the chain mode shall be used for validation. */
|
||||
static int default_validation_model;
|
||||
@ -1606,7 +1609,8 @@ main ( int argc, char **argv)
|
||||
printf ("disable-crl-checks:%lu:\n", GC_OPT_FLAG_NONE);
|
||||
printf ("disable-trusted-cert-crl-check:%lu:\n", GC_OPT_FLAG_NONE);
|
||||
printf ("enable-ocsp:%lu:\n", GC_OPT_FLAG_NONE);
|
||||
printf ("include-certs:%lu:1:\n", GC_OPT_FLAG_DEFAULT);
|
||||
printf ("include-certs:%lu:%d:\n", GC_OPT_FLAG_DEFAULT,
|
||||
DEFAULT_INCLUDE_CERTS);
|
||||
printf ("disable-policy-checks:%lu:\n", GC_OPT_FLAG_NONE);
|
||||
printf ("auto-issuer-key-retrieve:%lu:\n", GC_OPT_FLAG_NONE);
|
||||
printf ("disable-dirmngr:%lu:\n", GC_OPT_FLAG_NONE);
|
||||
|
Loading…
x
Reference in New Issue
Block a user