diff options
author | Yang Tse <yangsita@gmail.com> | 2013-04-04 12:09:39 +0200 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2013-04-04 12:11:29 +0200 |
commit | ed35e1fa1bfd3e42f682f9e2b4e0d4025fce0260 (patch) | |
tree | 82c872bab3bc1d985f041f58105edf6313ee09b5 /lib | |
parent | e87e76e2dc108efb1cae87df496416f49c55fca0 (diff) |
http_negotiate.c: follow-up for commit 3dcc1a9c
Diffstat (limited to 'lib')
-rw-r--r-- | lib/http_negotiate.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/http_negotiate.c b/lib/http_negotiate.c index 1374af855..052fd1951 100644 --- a/lib/http_negotiate.c +++ b/lib/http_negotiate.c @@ -333,13 +333,15 @@ CURLcode Curl_output_negotiate(struct connectdata *conn, bool proxy) &encoded, &len); if(error) { gss_release_buffer(&discard_st, &neg_ctx->output_token); - neg_ctx->output_token = GSS_C_EMPTY_BUFFER; + neg_ctx->output_token.value = NULL; + neg_ctx->output_token.length = 0; return error; } if(!encoded || !len) { gss_release_buffer(&discard_st, &neg_ctx->output_token); - neg_ctx->output_token = GSS_C_EMPTY_BUFFER; + neg_ctx->output_token.value = NULL; + neg_ctx->output_token.length = 0; return CURLE_REMOTE_ACCESS_DENIED; } |