mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
* keyserver.c (keyserver_typemap): Special-case LDAP since curl will
report that it can handle it, and we don't want it to.
This commit is contained in:
parent
9df2dbdfc2
commit
efea9c3ce1
2 changed files with 8 additions and 1 deletions
|
@ -860,7 +860,9 @@ curl_can_handle(const char *scheme)
|
|||
static const char *
|
||||
keyserver_typemap(const char *type)
|
||||
{
|
||||
if(strcmp(type,"ldaps")==0)
|
||||
if(strcmp(type,"ldap")==0)
|
||||
return "ldap";
|
||||
else if(strcmp(type,"ldaps")==0)
|
||||
return "ldap";
|
||||
else if(curl_can_handle(type))
|
||||
return "curl";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue