mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-18 14:17:03 +01:00
dirmngr: Fix case handling of "ldapi" scheme.
* dirmngr/ldap-parse-uri.c (ldap_uri_p): s/'i'/'I'. -- GnuPG-bug-id: 4758 Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
ad6bf5d67f
commit
0795ab1c8f
@ -54,7 +54,7 @@ ldap_uri_p (const char *url)
|
|||||||
&& (url[3] == 'p' || url[3] == 'P')
|
&& (url[3] == 'p' || url[3] == 'P')
|
||||||
&& (url[4] == ':'
|
&& (url[4] == ':'
|
||||||
|| ((url[4] == 's' || url[4] == 'S'
|
|| ((url[4] == 's' || url[4] == 'S'
|
||||||
|| url[4] == 'i' || url[4] == 'i')
|
|| url[4] == 'i' || url[4] == 'I')
|
||||||
&& url[5] == ':'))))
|
&& url[5] == ':'))))
|
||||||
return 1;
|
return 1;
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user