Lines Matching refs:line
95 Curl_tls_keylog_write_line(const char *line) in Curl_tls_keylog_write_line() argument
101 if(!keylog_file_fp || !line) { in Curl_tls_keylog_write_line()
105 linelen = strlen(line); in Curl_tls_keylog_write_line()
111 memcpy(buf, line, linelen); in Curl_tls_keylog_write_line()
112 if(line[linelen - 1] != '\n') { in Curl_tls_keylog_write_line()
130 char line[KEYLOG_LABEL_MAXLEN + 1 + 2 * CLIENT_RANDOM_SIZE + 1 + in Curl_tls_keylog_write() local
143 memcpy(line, label, pos); in Curl_tls_keylog_write()
144 line[pos++] = ' '; in Curl_tls_keylog_write()
148 line[pos++] = hex[client_random[i] >> 4]; in Curl_tls_keylog_write()
149 line[pos++] = hex[client_random[i] & 0xF]; in Curl_tls_keylog_write()
151 line[pos++] = ' '; in Curl_tls_keylog_write()
155 line[pos++] = hex[secret[i] >> 4]; in Curl_tls_keylog_write()
156 line[pos++] = hex[secret[i] & 0xF]; in Curl_tls_keylog_write()
158 line[pos++] = '\n'; in Curl_tls_keylog_write()
159 line[pos] = '\0'; in Curl_tls_keylog_write()
163 fputs(line, keylog_file_fp); in Curl_tls_keylog_write()