projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3bd2ab
)
http_negotiate.c: Fixed passing argument from incompatible pointer type
author
Marc Hoersken
<info@marc-hoersken.de>
Sat, 6 Apr 2013 22:06:19 +0000
(
00:06
+0200)
committer
Marc Hoersken
<info@marc-hoersken.de>
Sat, 6 Apr 2013 22:06:19 +0000
(
00:06
+0200)
lib/http_negotiate.c
patch
|
blob
|
history
diff --git
a/lib/http_negotiate.c
b/lib/http_negotiate.c
index
052fd19
..
9b981b3
100644
(file)
--- a/
lib/http_negotiate.c
+++ b/
lib/http_negotiate.c
@@
-212,7
+212,7
@@
int Curl_input_negotiate(struct connectdata *conn, bool proxy,
spnegoTokenLength,
NULL,
NULL,
- &mechToken.value,
+
(unsigned char**)
&mechToken.value,
&mechToken.length,
NULL,
NULL)) {
@@
-304,7
+304,7
@@
CURLcode Curl_output_negotiate(struct connectdata *conn, bool proxy)
if(!makeSpnegoInitialToken(object,
responseToken,
responseTokenLength,
- &spnegoToken.value,
+
(unsigned char**)
&spnegoToken.value,
&spnegoToken.length)) {
Curl_safefree(responseToken);
ASN1_OBJECT_free(object);