aboutsummaryrefslogtreecommitdiffstats
path: root/sm/certpath.c
diff options
context:
space:
mode:
Diffstat (limited to 'sm/certpath.c')
-rw-r--r--sm/certpath.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sm/certpath.c b/sm/certpath.c
index 083f7bb5f..12f4ba5c0 100644
--- a/sm/certpath.c
+++ b/sm/certpath.c
@@ -100,10 +100,13 @@ check_cert_policy (KsbaCert cert)
return map_ksba_err (err);
/* STRING is a line delimited list of certifiate policies as stored
- in the certificate. The line itself is colon delimted where the
+ in the certificate. The line itself is colon delimited where the
first field is the OID of the policy and the second field either
N or C for normal or critical extension */
+ if (opt.verbose > 1)
+ log_info ("certificate's policy list: %s\n", policies);
+
/* The check is very minimal but won't give false positives */
any_critical = !!strstr (policies, ":C");