aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2002-02-19 17:39:05 +0000
committerWerner Koch <[email protected]>2002-02-19 17:39:05 +0000
commit488243f56e6c34daa63ec37f3afe25c84dd833a8 (patch)
tree88e4b9f564ee7efffa546a4bcde1df74a56871b5 /common
parent* findkey.c (unprotect): Show an error message for a bad passphrase. (diff)
downloadgnupg-488243f56e6c34daa63ec37f3afe25c84dd833a8.tar.gz
gnupg-488243f56e6c34daa63ec37f3afe25c84dd833a8.zip
* certpath.c (check_cert_policy): New.
(gpgsm_validate_path): And call it from here. * gpgsm.c (main): New options --policy-file, --disable-policy-checks and --enable-policy-checks. * gpgsm.h (opt): Added policy_file, no_policy_checks.
Diffstat (limited to 'common')
-rw-r--r--common/errors.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/errors.h b/common/errors.h
index d968d70c8..42842afe7 100644
--- a/common/errors.h
+++ b/common/errors.h
@@ -92,6 +92,8 @@ enum {
GNUPG_Card_Not_Present = 63,
GNUPG_No_PKCS15_App = 64,
GNUPG_Not_Confirmed = 65,
+ GNUPG_Configuration_Error = 66,
+ GNUPG_No_Policy_Match = 67,
};
/* Status codes - fixme: should go into another file */