aboutsummaryrefslogtreecommitdiffstats
path: root/sm/certpath.c
diff options
context:
space:
mode:
Diffstat (limited to 'sm/certpath.c')
-rw-r--r--sm/certpath.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sm/certpath.c b/sm/certpath.c
index 5cae1ea75..a32c2d7f7 100644
--- a/sm/certpath.c
+++ b/sm/certpath.c
@@ -612,7 +612,7 @@ gpgsm_basic_cert_check (KsbaCert cert)
KEYDB_HANDLE kh = keydb_new (0);
KsbaCert issuer_cert = NULL;
- if ((opt.debug & 4096))
+ if (opt.no_path_validation)
{
log_info ("WARNING: bypassing basic certificate checks\n");
return 0;