1
0
Fork 0
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:
David Shaw 2005-07-27 01:24:57 +00:00
parent 9df2dbdfc2
commit efea9c3ce1
2 changed files with 8 additions and 1 deletions

View file

@ -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";