1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-06-25 01:42:45 +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

@ -1,3 +1,8 @@
2005-07-26 David Shaw <dshaw@jabberwocky.com>
* keyserver.c (keyserver_typemap): Special-case LDAP since curl
will report that it can handle it, and we don't want it to.
2005-07-26 Werner Koch <wk@g10code.com>
* passphrase.c (agent_get_passphrase): Make sure to release the

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