aboutsummaryrefslogtreecommitdiffstats
path: root/sm/certpath.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2002-03-13 10:19:50 +0000
committerWerner Koch <[email protected]>2002-03-13 10:19:50 +0000
commitc6736b6435d4decf3e6ff96fb86efed964362ade (patch)
treebb4e213f210d4ba7bf56901f81c91f553f2a666d /sm/certpath.c
parentMore error codes (diff)
downloadgnupg-c6736b6435d4decf3e6ff96fb86efed964362ade.tar.gz
gnupg-c6736b6435d4decf3e6ff96fb86efed964362ade.zip
* decrypt.c (gpgsm_decrypt): Allow multiple recipients.
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");