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:
parent
f3bd2abb61
commit
25f08de4d6
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user