1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-11-10 21:38:50 +01:00

* http.c (send_request): Need == after the radix64-encoded basic auth

string.
This commit is contained in:
David Shaw 2005-06-22 03:20:43 +00:00
parent a63f5e50f1
commit b967d27173
2 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2005-06-21 David Shaw <dshaw@jabberwocky.com>
* http.c (send_request): Need == after the radix64-encoded basic
auth string.
2005-06-08 David Shaw <dshaw@jabberwocky.com>
* dotlock.c [HAVE_DOSISH_SYSTEM]: Fix unused function warnings on

View File

@ -530,8 +530,8 @@ send_request( HTTP_HD hd, const char *proxy )
if(uri->auth)
{
char *x=make_radix64_string(uri->auth,strlen(uri->auth));
auth=m_alloc(50+strlen(x));
sprintf(auth,"Proxy-Authorization: Basic %s\r\n",x);
auth=m_alloc(52+strlen(x));
sprintf(auth,"Proxy-Authorization: Basic %s==\r\n",x);
m_free(x);
}
@ -543,8 +543,8 @@ send_request( HTTP_HD hd, const char *proxy )
if(hd->uri->auth)
{
char *x=make_radix64_string(hd->uri->auth,strlen(hd->uri->auth));
auth=m_alloc(50+strlen(x));
sprintf(auth,"Authorization: Basic %s\r\n",x);
auth=m_alloc(52+strlen(x));
sprintf(auth,"Authorization: Basic %s==\r\n",x);
m_free(x);
}
}