aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/http_negotiate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/http_negotiate.c b/lib/http_negotiate.c
index 052fd1951..9b981b332 100644
--- 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);