gnupg/util (ChangeLog http.c)
cvs user dshaw
cvs at cvs.gnupg.org
Wed Jun 22 04:57:36 CEST 2005
Date: Wednesday, June 22, 2005 @ 05:20:43
Author: dshaw
Path: /cvs/gnupg/gnupg/util
Modified: ChangeLog http.c
* http.c (send_request): Need == after the radix64-encoded basic auth
string.
-----------+
ChangeLog | 5 +++++
http.c | 8 ++++----
2 files changed, 9 insertions(+), 4 deletions(-)
Index: gnupg/util/ChangeLog
diff -u gnupg/util/ChangeLog:1.191 gnupg/util/ChangeLog:1.192
--- gnupg/util/ChangeLog:1.191 Thu Jun 9 00:54:02 2005
+++ gnupg/util/ChangeLog Wed Jun 22 05:20:43 2005
@@ -1,3 +1,8 @@
+2005-06-21 David Shaw <dshaw at jabberwocky.com>
+
+ * http.c (send_request): Need == after the radix64-encoded basic
+ auth string.
+
2005-06-08 David Shaw <dshaw at jabberwocky.com>
* dotlock.c [HAVE_DOSISH_SYSTEM]: Fix unused function warnings on
Index: gnupg/util/http.c
diff -u gnupg/util/http.c:1.34 gnupg/util/http.c:1.35
--- gnupg/util/http.c:1.34 Tue May 31 10:38:45 2005
+++ gnupg/util/http.c Wed Jun 22 05:20:43 2005
@@ -530,8 +530,8 @@
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 @@
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);
}
}
More information about the Gnupg-commits
mailing list