* gpgkeys_ldap.c (fail_all): New function to unwind a keylist and error
authorDavid Shaw <dshaw@jabberwocky.com>
Wed, 9 Oct 2002 02:03:22 +0000 (02:03 +0000)
committerDavid Shaw <dshaw@jabberwocky.com>
Wed, 9 Oct 2002 02:03:22 +0000 (02:03 +0000)
commit7a3e9403009aa66daec15074938966089d85edf6
treea5ee192ac2a13af2796b415bc76a7b43262af6bd
parent9c011f8280e9bdfdd414140f35f11b6599e99b19
* gpgkeys_ldap.c (fail_all): New function to unwind a keylist and error
each item. (main): Call fail_all from here, as needed.  Also add a
NO_MEMORY error in an appropriate place and fix error return code.
(ldap_err_to_gpg_err): Add KEYSERVER_UNREACHABLE.

* gpgkeys_hkp.c (fail_all): New function to unwind a keylist and error
each item. (main): Call fail_all from here.  Also add a NO_MEMORY error in
an appropriate place. (get_key): Use new UNREACHABLE error for network
errors.
keyserver/ChangeLog
keyserver/gpgkeys_hkp.c
keyserver/gpgkeys_ldap.c