Home
last modified time | relevance | path

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

/iperf/src/
H A Diperf_auth.c50 const char *auth_text_format = "user: %s\npwd: %s\nts: %"PRId64; variable
291 const int text_len = strlen(auth_text_format) + strlen(username) + strlen(password) + 32; in encode_auth_setting()
296 snprintf(text, text_len, auth_text_format, username, password, (int64_t)utc_seconds); in encode_auth_setting()
337 int rc = sscanf((char *) plaintext, auth_text_format, s_username, s_password, &utc_seconds); in decode_auth_setting()