dirmngr/src (14 files)

[email protected] Thu, 11 Dec 2003 12:25:26 +0100
Newsgroups gmane.comp.encryption.gpg.aegypten.cvs
Message-ID <[email protected]>
    Date: Thursday, December 11, 2003 @ 12:25:26
  Author: werner
    Path: /cvs/aegypten/dirmngr/src

   Added: Manifest funopen.c ocsp.c ocsp.h
Modified: Makefile.am crlcache.c crlcache.h crlfetch.c crlfetch.h
          dirmngr.c ldap.c misc.c misc.h server.c

* src/dirmngr.c (parse_ldapserver_file): Close the stream.
(main): Free ldapfile.

* src/ocsp.c, src/ocsp.h: New. Albeit not functionality.

* src/server.c (inquire_cert): Catch EOF when reading dist points.

* src/crlcache.c (hash_dbfile, check_dbfile): New.
(lock_db_file, crl_cache_insert): Use them here to detect
corrupted CRL files.
(open_dir): Read the new dbfile hash field.

* src/crlfetch.c (crl_fetch, crl_fetch_default): Changed to retrun
a stream.
(fun_reader, fun_closer, setup_funopen): New.
* src/server.c (inquire_cert): Changed to use the new stream interface
of crlfetch.c.


-------------+
 Makefile.am |    6 
 Manifest    |   18 
 crlcache.c  | 1380 ++++++++++++++++++++++++++++++++++++++++++----------------
 crlcache.h  |   10 
 crlfetch.c  |  129 ++++-
 crlfetch.h  |    6 
 dirmngr.c   |   29 +
 funopen.c   |   61 ++
 ldap.c      |    2 
 misc.c      |  117 ++++
 misc.h      |   23 
 ocsp.c      |   37 +
 ocsp.h      |   27 +
 server.c    |   30 -
 14 files changed, 1443 insertions(+), 432 deletions(-)