1
0
mirror of https://github.com/moparisthebest/curl synced 2025-01-06 03:18:04 -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, spnegoTokenLength,
NULL, NULL,
NULL, NULL,
&mechToken.value, (unsigned char**)&mechToken.value,
&mechToken.length, &mechToken.length,
NULL, NULL,
NULL)) { NULL)) {
@ -304,7 +304,7 @@ CURLcode Curl_output_negotiate(struct connectdata *conn, bool proxy)
if(!makeSpnegoInitialToken(object, if(!makeSpnegoInitialToken(object,
responseToken, responseToken,
responseTokenLength, responseTokenLength,
&spnegoToken.value, (unsigned char**)&spnegoToken.value,
&spnegoToken.length)) { &spnegoToken.length)) {
Curl_safefree(responseToken); Curl_safefree(responseToken);
ASN1_OBJECT_free(object); ASN1_OBJECT_free(object);