summaryrefslogtreecommitdiffstats
path: root/dirmngr/server.c
diff options
context:
space:
mode:
Diffstat (limited to 'dirmngr/server.c')
-rw-r--r--dirmngr/server.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/dirmngr/server.c b/dirmngr/server.c
index f726d1b35..961bba07d 100644
--- a/dirmngr/server.c
+++ b/dirmngr/server.c
@@ -1852,8 +1852,9 @@ cmd_validate (assuan_context_t ctx, char *line)
}
err = validate_cert_chain (ctrl, cert, NULL,
- ((tls_mode ? VALIDATE_FLAG_TLS : 0)
- | (systrust_mode ? VALIDATE_FLAG_SYSTRUST : 0)
+ (VALIDATE_FLAG_TRUST_CONFIG
+ | (tls_mode ? VALIDATE_FLAG_TLS : 0)
+ | (systrust_mode ? VALIDATE_FLAG_TRUST_SYSTEM : 0)
| (no_crl ? VALIDATE_FLAG_NOCRLCHECK : 0)),
NULL);