dirmngr/src (crlcache.c crlcache.h server.c)
[email protected] Thu, 29 Apr 2004 10:26:33 +0200
| Newsgroups | gmane.comp.encryption.gpg.aegypten.cvs |
|---|---|
| Message-ID | <[email protected]> |
Date: Thursday, April 29, 2004 @ 10:26:33
Author: werner
Path: /cvs/aegypten/dirmngr/src
Modified: crlcache.c crlcache.h server.c
* src/crlcache.h (crl_cache_result_t): Add CRL_CACHE_CANTUSE.
* src/server.c (cmd_isvalid): Handle it here.
* src/crlcache.c (crl_cache_isvalid): Issue this code if the CRL
cant be used.
(open_dir): Parse new fields 8,9 and 10 as well as the invalid flag.
(write_dir_line_crl): Write new fields.
(get_crl_number, get_auth_key_id): New.
(crl_cache_insert): Fill new fields. Mark the entry invalid if
the CRL is too old after an update or an unknown critical
extension was seen.
(list_one_crl_entry): Print the new fields.
------------+
crlcache.c | 187 +++++++++++++++++++++++++++++++++++++++++++++++++++++++----
crlcache.h | 3
server.c | 3
3 files changed, 181 insertions(+), 12 deletions(-)