Searched refs:plainauth (Results 1 – 1 of 1) sorted by relevance
/external/curl/lib/vauth/ |
D | cleartext.c | 68 char *plainauth; in Curl_auth_create_plain_message() local 75 plainauth = malloc(2 * ulen + plen + 2); in Curl_auth_create_plain_message() 76 if(!plainauth) { in Curl_auth_create_plain_message() 83 memcpy(plainauth, userp, ulen); in Curl_auth_create_plain_message() 84 plainauth[ulen] = '\0'; in Curl_auth_create_plain_message() 85 memcpy(plainauth + ulen + 1, userp, ulen); in Curl_auth_create_plain_message() 86 plainauth[2 * ulen + 1] = '\0'; in Curl_auth_create_plain_message() 87 memcpy(plainauth + 2 * ulen + 2, passwdp, plen); in Curl_auth_create_plain_message() 90 result = Curl_base64_encode(data, plainauth, 2 * ulen + plen + 2, outptr, in Curl_auth_create_plain_message() 92 free(plainauth); in Curl_auth_create_plain_message()
|