aboutsummaryrefslogtreecommitdiffstats
path: root/sm/call-dirmngr.c
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2022-02-18 02:11:12 +0000
committerNIIBE Yutaka <[email protected]>2022-02-18 02:11:12 +0000
commit05fdaa1737523fad72b6ffb9e7a90d5344ff64a5 (patch)
treef6b37102eb790ce992b74b2037805fdc5e0eb361 /sm/call-dirmngr.c
parentpo: Fix gender of pronoun in German translation (diff)
downloadgnupg-05fdaa1737523fad72b6ffb9e7a90d5344ff64a5.tar.gz
gnupg-05fdaa1737523fad72b6ffb9e7a90d5344ff64a5.zip
sm: Fix use of value NONE in gnupg_isotime_t type.
* common/gettime.h (GNUPG_ISOTIME_NONE): New. * sm/call-dirmngr.c (gpgsm_dirmngr_isvalid): Use it. * sm/certlist.c (gpgsm_add_to_certlist): Likewise. * sm/import.c (check_and_store): Likewise. * sm/keylist.c (list_cert_colon, list_cert_raw): Likewise. (list_cert_std): Likewise. * sm/sign.c (gpgsm_sign): Likewise. -- Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'sm/call-dirmngr.c')
-rw-r--r--sm/call-dirmngr.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sm/call-dirmngr.c b/sm/call-dirmngr.c
index 709f31720..9675d0404 100644
--- a/sm/call-dirmngr.c
+++ b/sm/call-dirmngr.c
@@ -572,7 +572,8 @@ gpgsm_dirmngr_isvalid (ctrl_t ctrl,
{
/* Note the no_dirmngr flag: This avoids checking
this certificate over and over again. */
- rc = gpgsm_validate_chain (ctrl, rspcert, "", NULL, 0, NULL,
+ rc = gpgsm_validate_chain (ctrl, rspcert, GNUPG_ISOTIME_NONE,
+ NULL, 0, NULL,
VALIDATE_FLAG_NO_DIRMNGR, NULL);
if (rc)
{