1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-06-13 00:09:51 +02:00

* gpgkeys_ldap.c (main): Fix three wrong calls to fail_all(). Noted

by Stefan Bellon.
This commit is contained in:
David Shaw 2005-03-19 14:24:36 +00:00
parent c249809a6b
commit 8885f0b0cc
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2005-03-19 David Shaw <dshaw@jabberwocky.com>
* gpgkeys_ldap.c (main): Fix three wrong calls to fail_all().
Noted by Stefan Bellon.
2005-03-17 David Shaw <dshaw@jabberwocky.com> 2005-03-17 David Shaw <dshaw@jabberwocky.com>
* ksutil.c (parse_ks_options): Handle verbose=nnn. * ksutil.c (parse_ks_options): Handle verbose=nnn.

View File

@ -1855,7 +1855,7 @@ main(int argc,char *argv[])
#else #else
fprintf(console,"gpgkeys: unable to make SSL connection: %s\n", fprintf(console,"gpgkeys: unable to make SSL connection: %s\n",
"not built with LDAPS support"); "not built with LDAPS support");
fail_all(keylist,action,KEYSERVER_INTERNAL_ERROR); fail_all(keylist,KEYSERVER_INTERNAL_ERROR);
goto fail; goto fail;
#endif #endif
} }
@ -1922,7 +1922,7 @@ main(int argc,char *argv[])
"not built with TLS support"); "not built with TLS support");
if(use_tls==3) if(use_tls==3)
{ {
fail_all(keylist,action,KEYSERVER_INTERNAL_ERROR); fail_all(keylist,KEYSERVER_INTERNAL_ERROR);
goto fail; goto fail;
} }
#endif #endif
@ -1941,7 +1941,7 @@ main(int argc,char *argv[])
{ {
fprintf(console,"gpgkeys: internal LDAP bind error: %s\n", fprintf(console,"gpgkeys: internal LDAP bind error: %s\n",
ldap_err2string(err)); ldap_err2string(err));
fail_all(keylist,action,ldap_err_to_gpg_err(err)); fail_all(keylist,ldap_err_to_gpg_err(err));
goto fail; goto fail;
} }
else else