werner committed to dirmngr/src

[email protected] Thu, 13 Nov 2003 17:19:57 +0100
Newsgroups gmane.comp.encryption.gpg.aegypten.cvs
Message-ID <[email protected]>
Date:	Thursday November 13, 2003 @ 17:19
Author:	werner

Update of /cvs/aegypten/dirmngr/src
In directory trithemius:/tmp/cvs-serv9616/src

Modified Files:
	server.c ldap.c crlfetch.h crlfetch.c crlcache.c 
Log Message:
* tests/test-dirmngr.c: Replaced a couple of deprecated types.

* configure.ac (GPG_ERR_SOURCE_DEFAULT): Added.
(fopencookie, asprintf): Removed unneeded test.
(PRINTABLE_OS_NAME): Updated the test from gnupg.
(CFLAGS): Do full warnings only in maintainer mode. Add flag
--enable gcc-warnings to override it and to enable even more
warnings.
* acinclude.m4: Removed the libgcrypt test.

* src/ldap.c (get_attr_from_result_ldap): Simplified the binary
hack and return a proper gpg error.
(attr_fetch_ldap_internal): Changed error handling.
(attr_fetch_ldap): Reworked.  Return configuration error if no
servers are configured.
(url_fetch_ldap, add_server_to_servers) 
(url_fetch_ldap_internal): Reworked.
(struct cert_fetch_context_s): New to get rid of a global state.
(start_cert_fetch_ldap): Allocate context and do a bind with a
timeout.  Parse pattern.
(end_cert_fetch_ldap): Take context and don't return anything.
(find_next_pattern): Removed.
(parse_one_pattern): Redone.
(get_cert_ldap): Redone.
* src/server.c (cmd_lookup): Changed for changed fetch functions.

* doc/dirmngr.texi: Reworked a bit to get rid of tex errors.

* configure.ac: Enable makeinfo test.

* src/crlcache.c (crl_cache_insert): Fixed for latest KSBA API
changes.
* tests/test-dirmngr.c (main): Ditto.  Also added some more error
checking.

File: server.c         	Status: Up-to-date
File: ldap.c           	Status: Up-to-date
File: crlfetch.h       	Status: Up-to-date
File: crlfetch.c       	Status: Up-to-date
File: crlcache.c       	Status: Up-to-date