Home
last modified time | relevance | path

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

/external/curl/lib/vauth/
Dcleartext.c66 char *plainauth; in Curl_auth_create_plain_message() local
87 plainauth = malloc(plainlen); in Curl_auth_create_plain_message()
88 if(!plainauth) in Curl_auth_create_plain_message()
92 memcpy(plainauth, userp, ulen); in Curl_auth_create_plain_message()
93 plainauth[ulen] = '\0'; in Curl_auth_create_plain_message()
94 memcpy(plainauth + ulen + 1, userp, ulen); in Curl_auth_create_plain_message()
95 plainauth[2 * ulen + 1] = '\0'; in Curl_auth_create_plain_message()
96 memcpy(plainauth + 2 * ulen + 2, passwdp, plen); in Curl_auth_create_plain_message()
99 result = Curl_base64_encode(data, plainauth, plainlen, outptr, outlen); in Curl_auth_create_plain_message()
100 free(plainauth); in Curl_auth_create_plain_message()