aboutsummaryrefslogtreecommitdiffstats
path: root/common/errors.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2002-01-22 13:32:48 +0000
committerWerner Koch <[email protected]>2002-01-22 13:32:48 +0000
commit4f39f92eff5949b7965ea16aea242e6bfa35e433 (patch)
tree3176d1f785ab134275ba9c4fe10d2f7230c2b911 /common/errors.h
parent* gpgsm.c: Add option --enable-crl-checks. (diff)
downloadgnupg-4f39f92eff5949b7965ea16aea242e6bfa35e433.tar.gz
gnupg-4f39f92eff5949b7965ea16aea242e6bfa35e433.zip
* certpath.c (unknown_criticals): New.
(allowed_ca): New. (gpgsm_validate_path): Check validity, CA attribute, path length and unknown critical extensions.
Diffstat (limited to 'common/errors.h')
-rw-r--r--common/errors.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/errors.h b/common/errors.h
index 4ce89d0c8..8f23161ed 100644
--- a/common/errors.h
+++ b/common/errors.h
@@ -77,6 +77,10 @@ enum {
GNUPG_Line_Too_Long = 48,
GNUPG_Not_Trusted = 49,
GNUPG_Canceled = 50,
+ GNUPG_Bad_CA_Certificate = 51,
+ GNUPG_Certificate_Expired = 52,
+ GNUPG_Certificate_Too_Young = 53,
+ GNUPG_Unsupported_Certificate = 54,
};
/* Status codes - fixme: should go into another file */