mirror of
git://git.gnupg.org/gnupg.git
synced 2025-03-28 22:49:59 +01:00
* keyserver.c (free_keyserver_spec): Fix small leak.
(keyserver_typemap): Map https if we are supporting it.
This commit is contained in:
parent
2b10681641
commit
625806b6ae
@ -1,3 +1,8 @@
|
|||||||
|
2005-01-21 David Shaw <dshaw@grover.jabberwocky.com>
|
||||||
|
|
||||||
|
* keyserver.c (free_keyserver_spec): Fix small leak.
|
||||||
|
(keyserver_typemap): Map https if we are supporting it.
|
||||||
|
|
||||||
2005-01-20 Werner Koch <wk@g10code.com>
|
2005-01-20 Werner Koch <wk@g10code.com>
|
||||||
|
|
||||||
* cardglue.c (open_card): Issue new CARDCTRL(4) status.
|
* cardglue.c (open_card): Issue new CARDCTRL(4) status.
|
||||||
|
@ -139,6 +139,8 @@ void
|
|||||||
free_keyserver_spec(struct keyserver_spec *keyserver)
|
free_keyserver_spec(struct keyserver_spec *keyserver)
|
||||||
{
|
{
|
||||||
m_free(keyserver->uri);
|
m_free(keyserver->uri);
|
||||||
|
m_free(keyserver->scheme);
|
||||||
|
m_free(keyserver->auth);
|
||||||
m_free(keyserver->host);
|
m_free(keyserver->host);
|
||||||
m_free(keyserver->port);
|
m_free(keyserver->port);
|
||||||
m_free(keyserver->path);
|
m_free(keyserver->path);
|
||||||
@ -791,6 +793,10 @@ keyserver_typemap(const char *type)
|
|||||||
#ifdef HTTP_VIA_LIBCURL
|
#ifdef HTTP_VIA_LIBCURL
|
||||||
else if(strcmp(type,"http")==0)
|
else if(strcmp(type,"http")==0)
|
||||||
return "curl";
|
return "curl";
|
||||||
|
#endif
|
||||||
|
#ifdef HTTPS_VIA_LIBCURL
|
||||||
|
else if(strcmp(type,"https")==0)
|
||||||
|
return "curl";
|
||||||
#endif
|
#endif
|
||||||
else
|
else
|
||||||
return type;
|
return type;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user