Lines Matching refs:BIO_printf
132 BIO_printf(bio_s_out, "psk_server_cb\n"); in psk_server_cb()
145 BIO_printf(bio_err, "Error: client did not send PSK identity\n"); in psk_server_cb()
149 BIO_printf(bio_s_out, "identity_len=%d identity=%s\n", in psk_server_cb()
154 BIO_printf(bio_s_out, "PSK warning: client identity not what we expected" in psk_server_cb()
158 BIO_printf(bio_s_out, "PSK client identity found\n"); in psk_server_cb()
164 BIO_printf(bio_err, "Could not convert PSK key '%s' to buffer\n", in psk_server_cb()
169 BIO_printf(bio_err, in psk_server_cb()
180 BIO_printf(bio_s_out, "fetched PSK len=%ld\n", key_len); in psk_server_cb()
184 BIO_printf(bio_err, "Error in PSK server callback\n"); in psk_server_cb()
213 BIO_printf(bio_err, "Could not convert PSK key '%s' to buffer\n", in psk_find_session_cb()
221 BIO_printf(bio_err, "Error finding suitable ciphersuite\n"); in psk_find_session_cb()
424 BIO_printf(p->biodebug, "Hostname in TLS extension: \""); in ssl_servername_cb()
426 BIO_printf(p->biodebug, in ssl_servername_cb()
428 BIO_printf(p->biodebug, "\"\n"); in ssl_servername_cb()
438 BIO_printf(p->biodebug, "Switching server context.\n"); in ssl_servername_cb()
494 BIO_printf(bio_err, "cert_status: AIA URL: %s\n", in get_ocsp_resp_from_responder()
658 BIO_printf(bio_s_out, "ALPN protocols advertised by the client: "); in alpn_cb()
675 BIO_printf(bio_s_out, "ALPN protocols selected: "); in alpn_cb()
1086 BIO_printf(bio_err, "Cannot supply multiple protocol flags\n"); in s_server_main()
1092 BIO_printf(bio_err, in s_server_main()
1100 BIO_printf(bio_err, "%s: Use -help for summary.\n", prog); in s_server_main()
1128 BIO_printf(bio_err, "%s: IPv6 domain sockets unsupported\n", prog); in s_server_main()
1141 BIO_printf(bio_err, in s_server_main()
1156 BIO_printf(bio_err, in s_server_main()
1179 BIO_printf(bio_err, "verify depth is %d\n", verify_args.depth); in s_server_main()
1187 BIO_printf(bio_err, in s_server_main()
1296 BIO_printf(bio_err, "%s: Memory allocation failure\n", prog); in s_server_main()
1380 BIO_printf(bio_err, "Error parsing -status_url argument\n"); in s_server_main()
1438 BIO_printf(bio_err, "Not a hex number '%s'\n", psk_key); in s_server_main()
1612 BIO_printf(bio_err, "Invalid value for max_early_data\n"); in s_server_main()
1619 BIO_printf(bio_err, "Invalid value for recv_max_early_data\n"); in s_server_main()
1660 BIO_printf(bio_err, "Cannot supply -nextprotoneg with TLSv1.3\n"); in s_server_main()
1666 BIO_printf(bio_err, "Can't use -HTTP, -www or -WWW with DTLS\n"); in s_server_main()
1671 BIO_printf(bio_err, "Can only use -listen with DTLS\n"); in s_server_main()
1677 BIO_printf(bio_err, "Can only use --stateless with TLS\n"); in s_server_main()
1683 BIO_printf(bio_err, in s_server_main()
1689 BIO_printf(bio_err, in s_server_main()
1697 BIO_printf(bio_err, "Can't use -sctp without DTLS\n"); in s_server_main()
1707 BIO_printf(bio_out, "Warning: -sendfile depends on -ktls, enabling -ktls now.\n"); in s_server_main()
1712 BIO_printf(bio_err, "Can't use -sendfile without -WWW or -HTTP\n"); in s_server_main()
1718 BIO_printf(bio_err, "Error getting password\n"); in s_server_main()
1849 BIO_printf(bio_err, "Error using configuration \"%s\"\n", in s_server_main()
1869 BIO_printf(bio_err, in s_server_main()
1872 BIO_printf(bio_err, "error setting 'id_prefix'\n"); in s_server_main()
1876 BIO_printf(bio_err, "id_prefix '%s' set.\n", session_id_prefix); in s_server_main()
1907 BIO_printf(bio_err, "%s: Max send fragment size %u is out of permitted range\n", in s_server_main()
1914 BIO_printf(bio_err, "%s: Split send fragment size %u is out of permitted range\n", in s_server_main()
1920 BIO_printf(bio_err, "%s: Max pipelines %u is out of permitted range\n", in s_server_main()
1932 BIO_printf(bio_err, "Error setting SRTP profile\n"); in s_server_main()
1945 BIO_printf(bio_err, "Error setting verify params\n"); in s_server_main()
1956 BIO_printf(bio_err, "Error loading store locations\n"); in s_server_main()
1970 BIO_printf(bio_s_out, "Setting secondary ctx parameters\n"); in s_server_main()
1977 BIO_printf(bio_err, in s_server_main()
1980 BIO_printf(bio_err, "error setting 'id_prefix'\n"); in s_server_main()
1984 BIO_printf(bio_err, "id_prefix '%s' set.\n", session_id_prefix); in s_server_main()
2008 BIO_printf(bio_err, "Error setting verify params\n"); in s_server_main()
2035 BIO_printf(bio_s_out, "Setting temp DH parameters\n"); in s_server_main()
2037 BIO_printf(bio_s_out, "Using default temp DH parameters\n"); in s_server_main()
2070 BIO_printf(bio_s_out, "Setting temp DH parameters\n"); in s_server_main()
2119 BIO_printf(bio_s_out, "PSK key given, setting server callback\n"); in s_server_main()
2125 BIO_printf(bio_s_out, "PSK warning: there is NO identity hint in TLSv1.3\n"); in s_server_main()
2128 BIO_printf(bio_err, "error setting PSK identity hint to context\n"); in s_server_main()
2139 BIO_printf(bio_err, "Can't open PSK session file %s\n", psksessf); in s_server_main()
2146 BIO_printf(bio_err, "Can't read PSK session file %s\n", psksessf); in s_server_main()
2160 BIO_printf(bio_err, "error setting session id context\n"); in s_server_main()
2178 BIO_printf(bio_err, "error setting session id context\n"); in s_server_main()
2278 BIO_printf(bio, "%4ld items in the session cache\n", in print_stats()
2280 BIO_printf(bio, "%4ld client connects (SSL_connect())\n", in print_stats()
2282 BIO_printf(bio, "%4ld client renegotiates (SSL_connect())\n", in print_stats()
2284 BIO_printf(bio, "%4ld client connects that finished\n", in print_stats()
2286 BIO_printf(bio, "%4ld server accepts (SSL_accept())\n", in print_stats()
2288 BIO_printf(bio, "%4ld server renegotiates (SSL_accept())\n", in print_stats()
2290 BIO_printf(bio, "%4ld server accepts that finished\n", in print_stats()
2292 BIO_printf(bio, "%4ld session cache hits\n", SSL_CTX_sess_hits(ssl_ctx)); in print_stats()
2293 BIO_printf(bio, "%4ld session cache misses\n", in print_stats()
2295 BIO_printf(bio, "%4ld session cache timeouts\n", in print_stats()
2297 BIO_printf(bio, "%4ld callback cache hits\n", in print_stats()
2299 BIO_printf(bio, "%4ld cache full overflows (%ld allowed)\n", in print_stats()
2330 BIO_printf(bio_err, "Turned on non blocking io\n"); in sv_body()
2347 BIO_printf(bio_err, "Error setting session id context\n"); in sv_body()
2353 BIO_printf(bio_err, "Error clearing SSL connection\n"); in sv_body()
2378 BIO_printf(bio_err, "MTU too small. Must be at least %ld\n", in sv_body()
2386 BIO_printf(bio_err, "Failed to set MTU\n"); in sv_body()
2405 BIO_printf(bio_err, "Unable to create BIO\n"); in sv_body()
2457 BIO_printf(bio_err, "Error reading early data\n"); in sv_body()
2464 BIO_printf(bio_s_out, "Early data received:\n"); in sv_body()
2473 BIO_printf(bio_s_out, "No early data received\n"); in sv_body()
2475 BIO_printf(bio_s_out, "Early data was rejected\n"); in sv_body()
2477 BIO_printf(bio_s_out, "\nEnd of early data\n"); in sv_body()
2531 BIO_printf(bio_err, "TIMEOUT occurred\n"); in sv_body()
2566 BIO_printf(bio_s_out, "DONE\n"); in sv_body()
2574 BIO_printf(bio_s_out, "DONE\n"); in sv_body()
2647 BIO_printf(bio_s_out, "LOOKUP renego during write\n"); in sv_body()
2658 BIO_printf(bio_s_out, "Write BLOCK (Async)\n"); in sv_body()
2665 BIO_printf(bio_s_out, "Write BLOCK\n"); in sv_body()
2674 BIO_printf(bio_s_out, "ERROR\n"); in sv_body()
2681 BIO_printf(bio_s_out, "DONE\n"); in sv_body()
2716 BIO_printf(bio_s_out, "LOOKUP renego during read\n"); in sv_body()
2734 BIO_printf(bio_s_out, "Read BLOCK (Async)\n"); in sv_body()
2740 BIO_printf(bio_s_out, "Read BLOCK\n"); in sv_body()
2749 BIO_printf(bio_s_out, "ERROR\n"); in sv_body()
2755 BIO_printf(bio_s_out, "DONE\n"); in sv_body()
2765 BIO_printf(bio_s_out, "shutting down SSL\n"); in sv_body()
2769 BIO_printf(bio_s_out, "CONNECTION CLOSED\n"); in sv_body()
2776 BIO_printf(bio_err, "shutdown accept socket\n"); in close_accept_socket()
2803 BIO_printf(bio_err, "ERROR - memory\n"); in init_ssl_connection()
2821 BIO_printf(bio_err, "ERROR - unable to connect\n"); in init_ssl_connection()
2847 BIO_printf(bio_err, in init_ssl_connection()
2859 BIO_printf(bio_s_out, "LOOKUP during accept %s\n", in init_ssl_connection()
2875 BIO_printf(bio_s_out, "DELAY\n"); in init_ssl_connection()
2879 BIO_printf(bio_err, "ERROR\n"); in init_ssl_connection()
2883 BIO_printf(bio_err, "verify error:%s\n", in init_ssl_connection()
2914 BIO_printf(bio_s_out, "Client certificate\n"); in print_connection_info()
2921 BIO_printf(bio_s_out, "Shared ciphers:%s\n", buf); in print_connection_info()
2929 BIO_printf(bio_s_out, "CIPHER is %s\n", (str != NULL) ? str : "(NONE)"); in print_connection_info()
2934 BIO_printf(bio_s_out, "NEXTPROTO is "); in print_connection_info()
2936 BIO_printf(bio_s_out, "\n"); in print_connection_info()
2945 BIO_printf(bio_s_out, "SRTP Extension negotiated, profile=%s\n", in print_connection_info()
2950 BIO_printf(bio_s_out, "Reused session-id\n"); in print_connection_info()
2955 BIO_printf(bio_s_out, "Renegotiation is DISABLED\n"); in print_connection_info()
2958 BIO_printf(bio_s_out, "Keying material exporter:\n"); in print_connection_info()
2959 BIO_printf(bio_s_out, " Label: '%s'\n", keymatexportlabel); in print_connection_info()
2960 BIO_printf(bio_s_out, " Length: %i bytes\n", keymatexportlen); in print_connection_info()
2967 BIO_printf(bio_s_out, " Error\n"); in print_connection_info()
2969 BIO_printf(bio_s_out, " Keying material: "); in print_connection_info()
2971 BIO_printf(bio_s_out, "%02X", exportedkeymat[i]); in print_connection_info()
2972 BIO_printf(bio_s_out, "\n"); in print_connection_info()
2978 BIO_printf(bio_err, "Using Kernel TLS for sending\n"); in print_connection_info()
2980 BIO_printf(bio_err, "Using Kernel TLS for receiving\n"); in print_connection_info()
3014 BIO_printf(bio_err, "Turned on non blocking io\n"); in www_body()
3076 BIO_printf(bio_s_out, "read R BLOCK\n"); in www_body()
3080 BIO_printf(bio_s_out, "LOOKUP renego during read\n"); in www_body()
3109 BIO_printf(bio_s_out, "SSL_renegotiate -> %d\n", i); in www_body()
3113 BIO_printf(bio_s_out, "SSL_do_handshake() Retval %d\n", in www_body()
3123 BIO_printf(bio_s_out, in www_body()
3169 BIO_printf(io, "Ciphers supported in s_server binary\n"); in www_body()
3174 BIO_printf(io, "%-11s:%-25s ", in www_body()
3182 BIO_printf(io, in www_body()
3204 BIO_printf(io, (SSL_session_reused(con) in www_body()
3207 BIO_printf(io, "%s, Cipher is %s\n", in www_body()
3210 BIO_printf(io, "---\n"); in www_body()
3212 BIO_printf(io, "---\n"); in www_body()
3215 BIO_printf(io, "Client certificate\n"); in www_body()
3264 BIO_printf(io, "'%s' is an invalid file name\r\n", p); in www_body()
3271 BIO_printf(io, "'%s' contains '..' or ':'\r\n", p); in www_body()
3277 BIO_printf(io, "'%s' is an invalid path\r\n", p); in www_body()
3284 BIO_printf(io, "'%s' is a directory\r\n", p); in www_body()
3291 BIO_printf(io, "Error opening '%s' mode='%s'\r\n", p, opmode); in www_body()
3297 BIO_printf(bio_err, "FILE:%s\n", p); in www_body()
3322 BIO_printf(io, "Error fstat '%s'\r\n", p); in www_body()
3334 BIO_printf(io, "Error SSL_sendfile '%s'\r\n", p); in www_body()
3344 BIO_printf(bio_err, "KTLS SENDFILE '%s' OK\n", p); in www_body()
3359 BIO_printf(bio_err, "%d\n", i); in www_body()
3362 BIO_printf(bio_err, "RENEGOTIATE\n"); in www_body()
3379 BIO_printf(bio_s_out, "rwrite W BLOCK\n"); in www_body()
3483 BIO_printf(bio_s_out, "LOOKUP renego during accept\n"); in rev_body()
3491 BIO_printf(bio_err, "CONNECTION ESTABLISHED\n"); in rev_body()
3502 BIO_printf(bio_s_out, "read R BLOCK\n"); in rev_body()
3506 BIO_printf(bio_s_out, "LOOKUP renego during read\n"); in rev_body()
3518 BIO_printf(bio_err, "CONNECTION CLOSED\n"); in rev_body()
3528 BIO_printf(bio_err, "CONNECTION CLOSED\n"); in rev_body()
3608 BIO_printf(bio_err, "Error encoding session\n"); in add_session()
3616 BIO_printf(bio_err, "Out of memory adding to external cache\n"); in add_session()
3626 BIO_printf(bio_err, "Unexpected session encoding length\n"); in add_session()
3635 BIO_printf(bio_err, "New session added to external cache\n"); in add_session()
3647 BIO_printf(bio_err, "Lookup session: cache hit\n"); in get_session()
3651 BIO_printf(bio_err, "Lookup session: cache miss\n"); in get_session()