aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2020-07-02 14:05:40 +0000
committerWerner Koch <[email protected]>2020-07-02 14:05:40 +0000
commit0795ab1c8f95831c15d4ae36d197805a26f8c899 (patch)
treed424e57fc145a9286678d43f0d504b1a327fbe08
parentsm: Print the serial number of a cert also in decimal. (diff)
downloadgnupg-0795ab1c8f95831c15d4ae36d197805a26f8c899.tar.gz
gnupg-0795ab1c8f95831c15d4ae36d197805a26f8c899.zip
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 <[email protected]>
-rw-r--r--dirmngr/ldap-parse-uri.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dirmngr/ldap-parse-uri.c b/dirmngr/ldap-parse-uri.c
index 94d4efd38..cae0351d4 100644
--- a/dirmngr/ldap-parse-uri.c
+++ b/dirmngr/ldap-parse-uri.c
@@ -54,7 +54,7 @@ ldap_uri_p (const char *url)
&& (url[3] == 'p' || url[3] == 'P')
&& (url[4] == ':'
|| ((url[4] == 's' || url[4] == 'S'
- || url[4] == 'i' || url[4] == 'i')
+ || url[4] == 'i' || url[4] == 'I')
&& url[5] == ':'))))
return 1;
return 0;