1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-14 21:47:19 +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

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