1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00

http_negotiate.c: Fixed passing argument from incompatible pointer type

This commit is contained in:
Marc Hoersken 2013-04-07 00:06:19 +02:00
parent f3bd2abb61
commit 25f08de4d6

View File

@ -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);