/external/curl/lib/vauth/ |
vauth.c | 38 * This is used to build a SPN string in the following formats: 50 * Returns a pointer to the newly allocated SPN. 56 char *spn = NULL; local 58 /* Generate our SPN */ 60 spn = aprintf("%s/%s@%s", service, host, realm); 62 spn = aprintf("%s/%s", service, host); 64 spn = aprintf("%s@%s", service, realm); 66 /* Return our newly allocated SPN */ 67 return spn; 83 formulate the SPN instead. * [all...] |
spnego_gssapi.c | 104 if(!nego->spn) { 105 /* Generate our SPN */ 106 char *spn = Curl_auth_build_spn(service, NULL, host); local 107 if(!spn) 110 /* Populate the SPN structure */ 111 spn_token.value = spn; 112 spn_token.length = strlen(spn); 114 /* Import the SPN */ 117 &nego->spn); 122 free(spn); [all...] |
krb5_gssapi.c | 105 if(!krb5->spn) { 106 /* Generate our SPN */ 107 char *spn = Curl_auth_build_spn(service, NULL, host); local 108 if(!spn) 111 /* Populate the SPN structure */ 112 spn_token.value = spn; 113 spn_token.length = strlen(spn); 115 /* Import the SPN */ 117 GSS_C_NT_HOSTBASED_SERVICE, &krb5->spn); 122 free(spn); [all...] |
digest_sspi.c | 94 TCHAR *spn = NULL; local 148 /* Generate our SPN */ 149 spn = Curl_auth_build_spn(service, data->conn->host.name, NULL); 150 if(!spn) { 161 free(spn); 184 free(spn); 208 status = s_pSecFn->InitializeSecurityContext(&credentials, NULL, spn, 219 free(spn); 237 /* Free the SPN */ 238 free(spn); 494 TCHAR *spn; local [all...] |
digest.c | 377 char *spn = NULL; local 437 /* Generate our SPN */ 438 spn = Curl_auth_build_spn(service, realm, NULL); 439 if(!spn) 445 free(spn); 453 Curl_MD5_update(ctxt, (const unsigned char *) spn, 454 curlx_uztoui(strlen(spn))); 463 free(spn); 495 cnonce, nonceCount, spn, resp_hash_hex, qop); 496 free(spn); [all...] |
/external/webrtc/webrtc/base/ |
httpcommon.cc | 870 char out_buf[MAX_MESSAGE], spn[MAX_SPN]; local 876 0, &len, spn) != ERROR_SUCCESS) { 881 sprintfn(spn, MAX_SPN, "HTTP/%s", server.ToString().c_str()); 937 ret = InitializeSecurityContextA(&neg->cred, &neg->ctx, spn, flags, 0, SECURITY_NATIVE_DREP, &in_buf_desc, 0, &neg->ctx, &out_buf_desc, &ret_flags, &lifetime); 1014 ret = InitializeSecurityContextA(&cred, 0, spn, flags, 0, SECURITY_NATIVE_DREP, 0, 0, &ctx, &out_buf_desc, &ret_flags, &lifetime);
|
/external/curl/lib/ |
urldata.h | 316 TCHAR *spn; member in struct:kerberos5data 323 gss_name_t spn; 347 TCHAR *spn; member in struct:ntlmdata 367 gss_name_t spn; member in struct:negotiatedata 379 TCHAR *spn; member in struct:negotiatedata [all...] |