diff options
author | Mark Brand <mabrand@mabrand.nl> | 2011-11-20 15:58:42 (GMT) |
---|---|---|
committer | Mark Brand <mabrand@mabrand.nl> | 2011-11-20 15:58:42 (GMT) |
commit | 5f4beb05936806961991f301d1aa5b7add5ba543 (patch) | |
tree | b81bf8b089a6c828ad1cefcca5ca73fecf6578c3 /src/gsoap-1-fixes.patch | |
parent | da65c6761898c45c7a0daa2358b394cdd2973887 (diff) | |
download | mxe-5f4beb05936806961991f301d1aa5b7add5ba543.zip mxe-5f4beb05936806961991f301d1aa5b7add5ba543.tar.gz mxe-5f4beb05936806961991f301d1aa5b7add5ba543.tar.bz2 |
update package gsoap
Diffstat (limited to 'src/gsoap-1-fixes.patch')
-rw-r--r-- | src/gsoap-1-fixes.patch | 113 |
1 files changed, 0 insertions, 113 deletions
diff --git a/src/gsoap-1-fixes.patch b/src/gsoap-1-fixes.patch index e5afa6f..63322eb 100644 --- a/src/gsoap-1-fixes.patch +++ b/src/gsoap-1-fixes.patch @@ -107,116 +107,3 @@ index 79c940a..17c9ee3 100644 1.7.7 -From bdaf871136077ba282b1824eb7765143ccf4b40d Mon Sep 17 00:00:00 2001 -From: Mark Brand <mabrand@mabrand.nl> -Date: Mon, 7 Nov 2011 14:43:55 +0100 -Subject: [PATCH 3/3] fix base64 encoding for Basic Authentication - -taken from: -https://sourceforge.net/tracker/?func=detail&aid=3434518&group_id=52781&atid=468023 ---- - gsoap/VisualStudio2005/wsdl2h/wsdl2h/stdsoap2.cpp | 4 ++-- - gsoap/samples/calc_vs2005/calc_vs2005/stdsoap2.cpp | 4 ++-- - gsoap/stdsoap2.c | 4 ++-- - gsoap/stdsoap2.cpp | 4 ++-- - 4 files changed, 8 insertions(+), 8 deletions(-) - -diff --git a/gsoap/VisualStudio2005/wsdl2h/wsdl2h/stdsoap2.cpp b/gsoap/VisualStudio2005/wsdl2h/wsdl2h/stdsoap2.cpp -index 83405cd..71838e9 100644 ---- a/gsoap/VisualStudio2005/wsdl2h/wsdl2h/stdsoap2.cpp -+++ b/gsoap/VisualStudio2005/wsdl2h/wsdl2h/stdsoap2.cpp -@@ -5684,8 +5684,8 @@ http_post(struct soap *soap, const char *endpoint, const char *host, int port, c - else - #endif - { strcpy(soap->tmpbuf, "Basic "); -- soap_s2base64(soap, (const unsigned char*)(soap->tmpbuf + 262), soap->tmpbuf + 6, (int)strlen(soap->tmpbuf + 262)); - sprintf(soap->tmpbuf + 262, "%s:%s", soap->userid, soap->passwd); -+ soap_s2base64(soap, (const unsigned char*)(soap->tmpbuf + 262), soap->tmpbuf + 6, (int)strlen(soap->tmpbuf + 262)); - } - if ((err = soap->fposthdr(soap, "Authorization", soap->tmpbuf))) - return err; -@@ -5698,8 +5698,8 @@ http_post(struct soap *soap, const char *endpoint, const char *host, int port, c - else - #endif - { strcpy(soap->tmpbuf, "Basic "); -- soap_s2base64(soap, (const unsigned char*)(soap->tmpbuf + 262), soap->tmpbuf + 6, (int)strlen(soap->tmpbuf + 262)); - sprintf(soap->tmpbuf + 262, "%s:%s", soap->proxy_userid, soap->proxy_passwd); -+ soap_s2base64(soap, (const unsigned char*)(soap->tmpbuf + 262), soap->tmpbuf + 6, (int)strlen(soap->tmpbuf + 262)); - } - if ((err = soap->fposthdr(soap, "Proxy-Authorization", soap->tmpbuf))) - return err; -diff --git a/gsoap/samples/calc_vs2005/calc_vs2005/stdsoap2.cpp b/gsoap/samples/calc_vs2005/calc_vs2005/stdsoap2.cpp -index 83405cd..71838e9 100644 ---- a/gsoap/samples/calc_vs2005/calc_vs2005/stdsoap2.cpp -+++ b/gsoap/samples/calc_vs2005/calc_vs2005/stdsoap2.cpp -@@ -5684,8 +5684,8 @@ http_post(struct soap *soap, const char *endpoint, const char *host, int port, c - else - #endif - { strcpy(soap->tmpbuf, "Basic "); -- soap_s2base64(soap, (const unsigned char*)(soap->tmpbuf + 262), soap->tmpbuf + 6, (int)strlen(soap->tmpbuf + 262)); - sprintf(soap->tmpbuf + 262, "%s:%s", soap->userid, soap->passwd); -+ soap_s2base64(soap, (const unsigned char*)(soap->tmpbuf + 262), soap->tmpbuf + 6, (int)strlen(soap->tmpbuf + 262)); - } - if ((err = soap->fposthdr(soap, "Authorization", soap->tmpbuf))) - return err; -@@ -5698,8 +5698,8 @@ http_post(struct soap *soap, const char *endpoint, const char *host, int port, c - else - #endif - { strcpy(soap->tmpbuf, "Basic "); -- soap_s2base64(soap, (const unsigned char*)(soap->tmpbuf + 262), soap->tmpbuf + 6, (int)strlen(soap->tmpbuf + 262)); - sprintf(soap->tmpbuf + 262, "%s:%s", soap->proxy_userid, soap->proxy_passwd); -+ soap_s2base64(soap, (const unsigned char*)(soap->tmpbuf + 262), soap->tmpbuf + 6, (int)strlen(soap->tmpbuf + 262)); - } - if ((err = soap->fposthdr(soap, "Proxy-Authorization", soap->tmpbuf))) - return err; -diff --git a/gsoap/stdsoap2.c b/gsoap/stdsoap2.c -index 83405cd..71838e9 100644 ---- a/gsoap/stdsoap2.c -+++ b/gsoap/stdsoap2.c -@@ -5684,8 +5684,8 @@ http_post(struct soap *soap, const char *endpoint, const char *host, int port, c - else - #endif - { strcpy(soap->tmpbuf, "Basic "); -- soap_s2base64(soap, (const unsigned char*)(soap->tmpbuf + 262), soap->tmpbuf + 6, (int)strlen(soap->tmpbuf + 262)); - sprintf(soap->tmpbuf + 262, "%s:%s", soap->userid, soap->passwd); -+ soap_s2base64(soap, (const unsigned char*)(soap->tmpbuf + 262), soap->tmpbuf + 6, (int)strlen(soap->tmpbuf + 262)); - } - if ((err = soap->fposthdr(soap, "Authorization", soap->tmpbuf))) - return err; -@@ -5698,8 +5698,8 @@ http_post(struct soap *soap, const char *endpoint, const char *host, int port, c - else - #endif - { strcpy(soap->tmpbuf, "Basic "); -- soap_s2base64(soap, (const unsigned char*)(soap->tmpbuf + 262), soap->tmpbuf + 6, (int)strlen(soap->tmpbuf + 262)); - sprintf(soap->tmpbuf + 262, "%s:%s", soap->proxy_userid, soap->proxy_passwd); -+ soap_s2base64(soap, (const unsigned char*)(soap->tmpbuf + 262), soap->tmpbuf + 6, (int)strlen(soap->tmpbuf + 262)); - } - if ((err = soap->fposthdr(soap, "Proxy-Authorization", soap->tmpbuf))) - return err; -diff --git a/gsoap/stdsoap2.cpp b/gsoap/stdsoap2.cpp -index 83405cd..71838e9 100644 ---- a/gsoap/stdsoap2.cpp -+++ b/gsoap/stdsoap2.cpp -@@ -5684,8 +5684,8 @@ http_post(struct soap *soap, const char *endpoint, const char *host, int port, c - else - #endif - { strcpy(soap->tmpbuf, "Basic "); -- soap_s2base64(soap, (const unsigned char*)(soap->tmpbuf + 262), soap->tmpbuf + 6, (int)strlen(soap->tmpbuf + 262)); - sprintf(soap->tmpbuf + 262, "%s:%s", soap->userid, soap->passwd); -+ soap_s2base64(soap, (const unsigned char*)(soap->tmpbuf + 262), soap->tmpbuf + 6, (int)strlen(soap->tmpbuf + 262)); - } - if ((err = soap->fposthdr(soap, "Authorization", soap->tmpbuf))) - return err; -@@ -5698,8 +5698,8 @@ http_post(struct soap *soap, const char *endpoint, const char *host, int port, c - else - #endif - { strcpy(soap->tmpbuf, "Basic "); -- soap_s2base64(soap, (const unsigned char*)(soap->tmpbuf + 262), soap->tmpbuf + 6, (int)strlen(soap->tmpbuf + 262)); - sprintf(soap->tmpbuf + 262, "%s:%s", soap->proxy_userid, soap->proxy_passwd); -+ soap_s2base64(soap, (const unsigned char*)(soap->tmpbuf + 262), soap->tmpbuf + 6, (int)strlen(soap->tmpbuf + 262)); - } - if ((err = soap->fposthdr(soap, "Proxy-Authorization", soap->tmpbuf))) - return err; --- -1.7.7 - |