1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

* certpath.c (unknown_criticals): New.

(allowed_ca): New.
(gpgsm_validate_path): Check validity, CA attribute, path length
and unknown critical extensions.
This commit is contained in:
Werner Koch 2002-01-22 13:32:48 +00:00
parent 1146232890
commit 4f39f92eff
4 changed files with 239 additions and 18 deletions

View file

@ -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 */