Home
last modified time | relevance | path

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

/external/curl/lib/
Dcurl_sasl.c305 char *plainauth; in sasl_create_plain_message() local
312 plainauth = malloc(2 * ulen + plen + 2); in sasl_create_plain_message()
313 if(!plainauth) { in sasl_create_plain_message()
320 memcpy(plainauth, userp, ulen); in sasl_create_plain_message()
321 plainauth[ulen] = '\0'; in sasl_create_plain_message()
322 memcpy(plainauth + ulen + 1, userp, ulen); in sasl_create_plain_message()
323 plainauth[2 * ulen + 1] = '\0'; in sasl_create_plain_message()
324 memcpy(plainauth + 2 * ulen + 2, passwdp, plen); in sasl_create_plain_message()
327 result = Curl_base64_encode(data, plainauth, 2 * ulen + plen + 2, outptr, in sasl_create_plain_message()
329 free(plainauth); in sasl_create_plain_message()