Lines Matching refs:BIO_printf

135         BIO_printf(bio_s_out, "psk_server_cb\n");  in psk_server_cb()
137 BIO_printf(bio_err, "Error: client did not send PSK identity\n"); in psk_server_cb()
141 BIO_printf(bio_s_out, "identity_len=%d identity=%s\n", in psk_server_cb()
146 BIO_printf(bio_s_out, "PSK warning: client identity not what we expected" in psk_server_cb()
150 BIO_printf(bio_s_out, "PSK client identity found\n"); in psk_server_cb()
156 BIO_printf(bio_err, "Could not convert PSK key '%s' to buffer\n", in psk_server_cb()
161 BIO_printf(bio_err, in psk_server_cb()
172 BIO_printf(bio_s_out, "fetched PSK len=%ld\n", key_len); in psk_server_cb()
176 BIO_printf(bio_err, "Error in PSK server callback\n"); in psk_server_cb()
208 BIO_printf(bio_err, "Could not convert PSK key '%s' to buffer\n", in psk_find_session_cb()
216 BIO_printf(bio_err, "Error finding suitable ciphersuite\n"); in psk_find_session_cb()
259 BIO_printf(bio_err, "SRP username = \"%s\"\n", p->login); in ssl_srp_server_param_cb()
264 BIO_printf(bio_err, "User %s doesn't exist\n", p->login); in ssl_srp_server_param_cb()
274 BIO_printf(bio_err, in ssl_srp_server_param_cb()
468 BIO_printf(p->biodebug, "Hostname in TLS extension: \""); in ssl_servername_cb()
470 BIO_printf(p->biodebug, in ssl_servername_cb()
472 BIO_printf(p->biodebug, "\"\n"); in ssl_servername_cb()
482 BIO_printf(p->biodebug, "Switching server context.\n"); in ssl_servername_cb()
536 BIO_printf(bio_err, "cert_status: AIA URL: %s\n", in get_ocsp_resp_from_responder()
698 BIO_printf(bio_s_out, "ALPN protocols advertised by the client: "); in alpn_cb()
715 BIO_printf(bio_s_out, "ALPN protocols selected: "); in alpn_cb()
1079 BIO_printf(bio_err, "Cannot supply multiple protocol flags\n"); in s_server_main()
1085 BIO_printf(bio_err, in s_server_main()
1093 BIO_printf(bio_err, "%s: Use -help for summary.\n", prog); in s_server_main()
1121 BIO_printf(bio_err, "%s: IPv6 domain sockets unsupported\n", prog); in s_server_main()
1134 BIO_printf(bio_err, in s_server_main()
1149 BIO_printf(bio_err, in s_server_main()
1172 BIO_printf(bio_err, "verify depth is %d\n", verify_args.depth); in s_server_main()
1180 BIO_printf(bio_err, in s_server_main()
1279 BIO_printf(bio_err, "%s: Memory allocation failure\n", prog); in s_server_main()
1354 BIO_printf(bio_err, "Error parsing URL\n"); in s_server_main()
1414 BIO_printf(bio_err, "Not a hex number '%s'\n", psk_key); in s_server_main()
1582 BIO_printf(bio_err, "Invalid value for max_early_data\n"); in s_server_main()
1589 BIO_printf(bio_err, "Invalid value for recv_max_early_data\n"); in s_server_main()
1605 BIO_printf(bio_err, "Cannot supply -nextprotoneg with TLSv1.3\n"); in s_server_main()
1611 BIO_printf(bio_err, "Can't use -HTTP, -www or -WWW with DTLS\n"); in s_server_main()
1616 BIO_printf(bio_err, "Can only use -listen with DTLS\n"); in s_server_main()
1622 BIO_printf(bio_err, "Can only use --stateless with TLS\n"); in s_server_main()
1628 BIO_printf(bio_err, in s_server_main()
1634 BIO_printf(bio_err, in s_server_main()
1642 BIO_printf(bio_err, "Can't use -sctp without DTLS\n"); in s_server_main()
1651 BIO_printf(bio_err, "Error getting password\n"); in s_server_main()
1798 BIO_printf(bio_err, "Error using configuration \"%s\"\n", in s_server_main()
1819 BIO_printf(bio_err, in s_server_main()
1822 BIO_printf(bio_err, "error setting 'id_prefix'\n"); in s_server_main()
1826 BIO_printf(bio_err, "id_prefix '%s' set.\n", session_id_prefix); in s_server_main()
1847 BIO_printf(bio_err, "%s: Max send fragment size %u is out of permitted range\n", in s_server_main()
1854 BIO_printf(bio_err, "%s: Split send fragment size %u is out of permitted range\n", in s_server_main()
1860 BIO_printf(bio_err, "%s: Max pipelines %u is out of permitted range\n", in s_server_main()
1872 BIO_printf(bio_err, "Error setting SRTP profile\n"); in s_server_main()
1884 BIO_printf(bio_err, "Error setting verify params\n"); in s_server_main()
1893 BIO_printf(bio_err, "Error loading store locations\n"); in s_server_main()
1907 BIO_printf(bio_s_out, "Setting secondary ctx parameters\n"); in s_server_main()
1914 BIO_printf(bio_err, in s_server_main()
1917 BIO_printf(bio_err, "error setting 'id_prefix'\n"); in s_server_main()
1921 BIO_printf(bio_err, "id_prefix '%s' set.\n", session_id_prefix); in s_server_main()
1946 BIO_printf(bio_err, "Error setting verify params\n"); in s_server_main()
1973 BIO_printf(bio_s_out, "Setting temp DH parameters\n"); in s_server_main()
1975 BIO_printf(bio_s_out, "Using default temp DH parameters\n"); in s_server_main()
1992 BIO_printf(bio_s_out, "Setting temp DH parameters\n"); in s_server_main()
2041 BIO_printf(bio_s_out, "PSK key given, setting server callback\n"); in s_server_main()
2046 BIO_printf(bio_err, "error setting PSK identity hint to context\n"); in s_server_main()
2055 BIO_printf(bio_err, "Can't open PSK session file %s\n", psksessf); in s_server_main()
2062 BIO_printf(bio_err, "Can't read PSK session file %s\n", psksessf); in s_server_main()
2076 BIO_printf(bio_err, "error setting session id context\n"); in s_server_main()
2094 BIO_printf(bio_err, "error setting session id context\n"); in s_server_main()
2113 BIO_printf(bio_err, in s_server_main()
2205 BIO_printf(bio, "%4ld items in the session cache\n", in print_stats()
2207 BIO_printf(bio, "%4ld client connects (SSL_connect())\n", in print_stats()
2209 BIO_printf(bio, "%4ld client renegotiates (SSL_connect())\n", in print_stats()
2211 BIO_printf(bio, "%4ld client connects that finished\n", in print_stats()
2213 BIO_printf(bio, "%4ld server accepts (SSL_accept())\n", in print_stats()
2215 BIO_printf(bio, "%4ld server renegotiates (SSL_accept())\n", in print_stats()
2217 BIO_printf(bio, "%4ld server accepts that finished\n", in print_stats()
2219 BIO_printf(bio, "%4ld session cache hits\n", SSL_CTX_sess_hits(ssl_ctx)); in print_stats()
2220 BIO_printf(bio, "%4ld session cache misses\n", in print_stats()
2222 BIO_printf(bio, "%4ld session cache timeouts\n", in print_stats()
2224 BIO_printf(bio, "%4ld callback cache hits\n", in print_stats()
2226 BIO_printf(bio, "%4ld cache full overflows (%ld allowed)\n", in print_stats()
2257 BIO_printf(bio_err, "Turned on non blocking io\n"); in sv_body()
2274 BIO_printf(bio_err, "Error setting session id context\n"); in sv_body()
2280 BIO_printf(bio_err, "Error clearing SSL connection\n"); in sv_body()
2305 BIO_printf(bio_err, "MTU too small. Must be at least %ld\n", in sv_body()
2313 BIO_printf(bio_err, "Failed to set MTU\n"); in sv_body()
2332 BIO_printf(bio_err, "Unable to create BIO\n"); in sv_body()
2384 BIO_printf(bio_err, "Error reading early data\n"); in sv_body()
2391 BIO_printf(bio_s_out, "Early data received:\n"); in sv_body()
2400 BIO_printf(bio_s_out, "No early data received\n"); in sv_body()
2402 BIO_printf(bio_s_out, "Early data was rejected\n"); in sv_body()
2404 BIO_printf(bio_s_out, "\nEnd of early data\n"); in sv_body()
2458 BIO_printf(bio_err, "TIMEOUT occurred\n"); in sv_body()
2493 BIO_printf(bio_s_out, "DONE\n"); in sv_body()
2501 BIO_printf(bio_s_out, "DONE\n"); in sv_body()
2512 BIO_printf(bio_err, "HEARTBEATING\n"); in sv_body()
2582 BIO_printf(bio_s_out, "LOOKUP renego during write\n"); in sv_body()
2588 BIO_printf(bio_s_out, "LOOKUP done %s\n", in sv_body()
2591 BIO_printf(bio_s_out, "LOOKUP not successful\n"); in sv_body()
2599 BIO_printf(bio_s_out, "Write BLOCK (Async)\n"); in sv_body()
2606 BIO_printf(bio_s_out, "Write BLOCK\n"); in sv_body()
2615 BIO_printf(bio_s_out, "ERROR\n"); in sv_body()
2622 BIO_printf(bio_s_out, "DONE\n"); in sv_body()
2657 BIO_printf(bio_s_out, "LOOKUP renego during read\n"); in sv_body()
2663 BIO_printf(bio_s_out, "LOOKUP done %s\n", in sv_body()
2666 BIO_printf(bio_s_out, "LOOKUP not successful\n"); in sv_body()
2681 BIO_printf(bio_s_out, "Read BLOCK (Async)\n"); in sv_body()
2687 BIO_printf(bio_s_out, "Read BLOCK\n"); in sv_body()
2696 BIO_printf(bio_s_out, "ERROR\n"); in sv_body()
2702 BIO_printf(bio_s_out, "DONE\n"); in sv_body()
2712 BIO_printf(bio_s_out, "shutting down SSL\n"); in sv_body()
2716 BIO_printf(bio_s_out, "CONNECTION CLOSED\n"); in sv_body()
2723 BIO_printf(bio_err, "shutdown accept socket\n"); in close_accept_socket()
2750 BIO_printf(bio_err, "ERROR - memory\n"); in init_ssl_connection()
2768 BIO_printf(bio_err, "ERROR - unable to connect\n"); in init_ssl_connection()
2794 BIO_printf(bio_err, in init_ssl_connection()
2806 BIO_printf(bio_s_out, "LOOKUP during accept %s\n", in init_ssl_connection()
2813 BIO_printf(bio_s_out, "LOOKUP done %s\n", in init_ssl_connection()
2816 BIO_printf(bio_s_out, "LOOKUP not successful\n"); in init_ssl_connection()
2828 BIO_printf(bio_s_out, "DELAY\n"); in init_ssl_connection()
2832 BIO_printf(bio_err, "ERROR\n"); in init_ssl_connection()
2836 BIO_printf(bio_err, "verify error:%s\n", in init_ssl_connection()
2867 BIO_printf(bio_s_out, "Client certificate\n"); in print_connection_info()
2875 BIO_printf(bio_s_out, "Shared ciphers:%s\n", buf); in print_connection_info()
2883 BIO_printf(bio_s_out, "CIPHER is %s\n", (str != NULL) ? str : "(NONE)"); in print_connection_info()
2888 BIO_printf(bio_s_out, "NEXTPROTO is "); in print_connection_info()
2890 BIO_printf(bio_s_out, "\n"); in print_connection_info()
2899 BIO_printf(bio_s_out, "SRTP Extension negotiated, profile=%s\n", in print_connection_info()
2904 BIO_printf(bio_s_out, "Reused session-id\n"); in print_connection_info()
2905 BIO_printf(bio_s_out, "Secure Renegotiation IS%s supported\n", in print_connection_info()
2908 BIO_printf(bio_s_out, "Renegotiation is DISABLED\n"); in print_connection_info()
2911 BIO_printf(bio_s_out, "Keying material exporter:\n"); in print_connection_info()
2912 BIO_printf(bio_s_out, " Label: '%s'\n", keymatexportlabel); in print_connection_info()
2913 BIO_printf(bio_s_out, " Length: %i bytes\n", keymatexportlen); in print_connection_info()
2920 BIO_printf(bio_s_out, " Error\n"); in print_connection_info()
2922 BIO_printf(bio_s_out, " Keying material: "); in print_connection_info()
2924 BIO_printf(bio_s_out, "%02X", exportedkeymat[i]); in print_connection_info()
2925 BIO_printf(bio_s_out, "\n"); in print_connection_info()
2975 BIO_printf(bio_err, "Turned on non blocking io\n"); in www_body()
3036 BIO_printf(bio_s_out, "read R BLOCK\n"); in www_body()
3040 BIO_printf(bio_s_out, "LOOKUP renego during read\n"); in www_body()
3046 BIO_printf(bio_s_out, "LOOKUP done %s\n", in www_body()
3049 BIO_printf(bio_s_out, "LOOKUP not successful\n"); in www_body()
3077 BIO_printf(bio_s_out, "SSL_renegotiate -> %d\n", i); in www_body()
3081 BIO_printf(bio_s_out, "SSL_do_handshake() Retval %d\n", in www_body()
3091 BIO_printf(bio_s_out, in www_body()
3132 BIO_printf(io, in www_body()
3140 BIO_printf(io, "Ciphers supported in s_server binary\n"); in www_body()
3145 BIO_printf(io, "%-11s:%-25s ", in www_body()
3153 BIO_printf(io, in www_body()
3175 BIO_printf(io, (SSL_session_reused(con) in www_body()
3178 BIO_printf(io, "%s, Cipher is %s\n", in www_body()
3181 BIO_printf(io, "---\n"); in www_body()
3183 BIO_printf(io, "---\n"); in www_body()
3186 BIO_printf(io, "Client certificate\n"); in www_body()
3230 BIO_printf(io, "'%s' is an invalid file name\r\n", p); in www_body()
3237 BIO_printf(io, "'%s' contains '..' reference\r\n", p); in www_body()
3243 BIO_printf(io, "'%s' is an invalid path\r\n", p); in www_body()
3250 BIO_printf(io, "'%s' is a directory\r\n", p); in www_body()
3256 BIO_printf(io, "Error opening '%s'\r\n", p); in www_body()
3262 BIO_printf(bio_err, "FILE:%s\n", p); in www_body()
3283 BIO_printf(bio_err, "%d\n", i); in www_body()
3286 BIO_printf(bio_err, "RENEGOTIATE\n"); in www_body()
3304 BIO_printf(bio_s_out, "rwrite W BLOCK\n"); in www_body()
3405 BIO_printf(bio_s_out, "LOOKUP renego during accept\n"); in rev_body()
3411 BIO_printf(bio_s_out, "LOOKUP done %s\n", in rev_body()
3414 BIO_printf(bio_s_out, "LOOKUP not successful\n"); in rev_body()
3419 BIO_printf(bio_err, "CONNECTION ESTABLISHED\n"); in rev_body()
3430 BIO_printf(bio_s_out, "read R BLOCK\n"); in rev_body()
3434 BIO_printf(bio_s_out, "LOOKUP renego during read\n"); in rev_body()
3440 BIO_printf(bio_s_out, "LOOKUP done %s\n", in rev_body()
3443 BIO_printf(bio_s_out, "LOOKUP not successful\n"); in rev_body()
3454 BIO_printf(bio_err, "CONNECTION CLOSED\n"); in rev_body()
3464 BIO_printf(bio_err, "CONNECTION CLOSED\n"); in rev_body()
3541 BIO_printf(bio_err, "Error encoding session\n"); in add_session()
3549 BIO_printf(bio_err, "Out of memory adding to external cache\n"); in add_session()
3559 BIO_printf(bio_err, "Unexpected session encoding length\n"); in add_session()
3568 BIO_printf(bio_err, "New session added to external cache\n"); in add_session()
3580 BIO_printf(bio_err, "Lookup session: cache hit\n"); in get_session()
3584 BIO_printf(bio_err, "Lookup session: cache miss\n"); in get_session()