Home
last modified time | relevance | path

Searched refs:output_token (Results 1 – 12 of 12) sorted by relevance

/third_party/curl/lib/vauth/
Dspnego_gssapi.c93 gss_buffer_desc output_token = GSS_C_EMPTY_BUFFER; in Curl_auth_decode_spnego_message() local
159 &output_token, in Curl_auth_decode_spnego_message()
168 if(output_token.value) in Curl_auth_decode_spnego_message()
169 gss_release_buffer(&unused_status, &output_token); in Curl_auth_decode_spnego_message()
177 if(!output_token.value || !output_token.length) { in Curl_auth_decode_spnego_message()
178 if(output_token.value) in Curl_auth_decode_spnego_message()
179 gss_release_buffer(&unused_status, &output_token); in Curl_auth_decode_spnego_message()
185 if(nego->output_token.length && nego->output_token.value) in Curl_auth_decode_spnego_message()
186 gss_release_buffer(&unused_status, &nego->output_token); in Curl_auth_decode_spnego_message()
188 nego->output_token = output_token; in Curl_auth_decode_spnego_message()
[all …]
Dkrb5_gssapi.c96 gss_buffer_desc output_token = GSS_C_EMPTY_BUFFER; in Curl_auth_create_gssapi_user_message() local
142 &output_token, in Curl_auth_create_gssapi_user_message()
147 if(output_token.value) in Curl_auth_create_gssapi_user_message()
148 gss_release_buffer(&unused_status, &output_token); in Curl_auth_create_gssapi_user_message()
156 if(output_token.value && output_token.length) { in Curl_auth_create_gssapi_user_message()
157 result = Curl_bufref_memdup(out, output_token.value, output_token.length); in Curl_auth_create_gssapi_user_message()
158 gss_release_buffer(&unused_status, &output_token); in Curl_auth_create_gssapi_user_message()
195 gss_buffer_desc output_token = GSS_C_EMPTY_BUFFER; in Curl_auth_create_gssapi_security_message() local
213 &output_token, NULL, &qop); in Curl_auth_create_gssapi_security_message()
221 if(output_token.length != 4) { in Curl_auth_create_gssapi_security_message()
[all …]
Ddigest_sspi.c101 unsigned char *output_token = NULL; in Curl_auth_create_digest_md5_message() local
135 output_token = malloc(token_max); in Curl_auth_create_digest_md5_message()
136 if(!output_token) in Curl_auth_create_digest_md5_message()
142 free(output_token); in Curl_auth_create_digest_md5_message()
151 free(output_token); in Curl_auth_create_digest_md5_message()
172 free(output_token); in Curl_auth_create_digest_md5_message()
189 resp_buf.pvBuffer = output_token; in Curl_auth_create_digest_md5_message()
209 free(output_token); in Curl_auth_create_digest_md5_message()
221 Curl_bufref_set(out, output_token, resp_buf.cbBuffer, curl_free); in Curl_auth_create_digest_md5_message()
401 BYTE *output_token; in Curl_auth_create_digest_http_message() local
[all …]
Dntlm_sspi.c118 ntlm->output_token = malloc(ntlm->token_max); in Curl_auth_create_ntlm_type1_message()
119 if(!ntlm->output_token) in Curl_auth_create_ntlm_type1_message()
165 type_1_buf.pvBuffer = ntlm->output_token; in Curl_auth_create_ntlm_type1_message()
184 Curl_bufref_set(out, ntlm->output_token, type_1_buf.cbBuffer, NULL); in Curl_auth_create_ntlm_type1_message()
304 type_3_buf.pvBuffer = ntlm->output_token; in Curl_auth_create_ntlm_type3_message()
327 result = Curl_bufref_memdup(out, ntlm->output_token, type_3_buf.cbBuffer); in Curl_auth_create_ntlm_type3_message()
364 Curl_safefree(ntlm->output_token); in Curl_auth_cleanup_ntlm()
Dspnego_sspi.c129 if(!nego->output_token) { in Curl_auth_decode_spnego_message()
145 nego->output_token = malloc(nego->token_max); in Curl_auth_decode_spnego_message()
146 if(!nego->output_token) in Curl_auth_decode_spnego_message()
241 resp_buf.pvBuffer = nego->output_token; in Curl_auth_decode_spnego_message()
310 CURLcode result = Curl_base64_encode((const char *) nego->output_token, in Curl_auth_create_spnego_message()
353 Curl_safefree(nego->output_token); in Curl_auth_cleanup_spnego()
Dkrb5_sspi.c119 if(!krb5->output_token) { in Curl_auth_create_gssapi_user_message()
135 krb5->output_token = malloc(krb5->token_max); in Curl_auth_create_gssapi_user_message()
136 if(!krb5->output_token) in Curl_auth_create_gssapi_user_message()
196 resp_buf.pvBuffer = krb5->output_token; in Curl_auth_create_gssapi_user_message()
468 Curl_safefree(krb5->output_token); in Curl_auth_cleanup_gssapi()
/third_party/curl/tests/libtest/
Dstub_gssapi.c89 gss_buffer_t output_token, in gss_init_sec_context() argument
111 if(!context_handle || !target_name || !output_token) { in gss_init_sec_context()
128 output_token->length = 0; in gss_init_sec_context()
129 output_token->value = NULL; in gss_init_sec_context()
237 output_token->value = token; in gss_init_sec_context()
238 output_token->length = length; in gss_init_sec_context()
245 gss_buffer_t output_token) in gss_delete_sec_context() argument
247 (void)output_token; in gss_delete_sec_context()
/third_party/curl/packages/OS400/
Dos400sys.c437 gss_buffer_t output_token, gss_flags_t *ret_flags, in Curl_gss_init_sec_context_a() argument
469 output_token, ret_flags, time_rec); in Curl_gss_init_sec_context_a()
472 if(rc != GSS_S_COMPLETE || !output_token || in Curl_gss_init_sec_context_a()
473 !output_token->length || !output_token->value) in Curl_gss_init_sec_context_a()
480 if(Curl_gss_convert_in_place(minor_status, output_token)) in Curl_gss_init_sec_context_a()
490 gss_buffer_t output_token) in Curl_gss_delete_sec_context_a() argument
494 rc = gss_delete_sec_context(minor_status, context_handle, output_token); in Curl_gss_delete_sec_context_a()
496 if(rc != GSS_S_COMPLETE || !output_token || in Curl_gss_delete_sec_context_a()
497 !output_token->length || !output_token->value) in Curl_gss_delete_sec_context_a()
504 if(Curl_gss_convert_in_place(minor_status, output_token)) in Curl_gss_delete_sec_context_a()
/third_party/curl/lib/
Dcurl_gssapi.c58 gss_buffer_t output_token, in Curl_gss_init_sec_context() argument
89 output_token, in Curl_gss_init_sec_context()
Dsetup-os400.h91 gss_buffer_t output_token,
99 gss_buffer_t output_token);
Dcurl_gssapi.h43 gss_buffer_t output_token,
Durldata.h391 BYTE *output_token; member
423 BYTE *output_token; member
451 gss_buffer_desc output_token; member
464 BYTE *output_token;