mirror of
git://git.gnupg.org/gnupg.git
synced 2025-02-22 19:58:29 +01: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
@ -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>
|
2005-07-26 Werner Koch <wk@g10code.com>
|
||||||
|
|
||||||
* passphrase.c (agent_get_passphrase): Make sure to release the
|
* passphrase.c (agent_get_passphrase): Make sure to release the
|
||||||
|
@ -860,7 +860,9 @@ curl_can_handle(const char *scheme)
|
|||||||
static const char *
|
static const char *
|
||||||
keyserver_typemap(const char *type)
|
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";
|
return "ldap";
|
||||||
else if(curl_can_handle(type))
|
else if(curl_can_handle(type))
|
||||||
return "curl";
|
return "curl";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user