mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-03 12:11:33 +01:00
dirmngr: Use a better error code.
* dirmngr/ldap-parse-uri.c (ldap_parse_uri): On error, return GPG_ERR_GENERAL, not GPG_ERR_ASS_GENERAL. -- Signed-off-by: Neal H. Walfield <neal@g10code.com>
This commit is contained in:
parent
44297d0821
commit
7f6d7948c1
@ -94,7 +94,7 @@ ldap_parse_uri (parsed_uri_t *purip, const char *uri)
|
|||||||
if (result != 0)
|
if (result != 0)
|
||||||
{
|
{
|
||||||
log_error ("Unable to parse LDAP uri '%s'\n", uri);
|
log_error ("Unable to parse LDAP uri '%s'\n", uri);
|
||||||
err = GPG_ERR_ASS_GENERAL;
|
err = GPG_ERR_GENERAL;
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user