Lines Matching refs:BIO_printf

138         BIO_printf(bio_s_out, "psk_server_cb\n");  in psk_server_cb()
151 BIO_printf(bio_err, "Error: client did not send PSK identity\n"); in psk_server_cb()
155 BIO_printf(bio_s_out, "identity_len=%d identity=%s\n", in psk_server_cb()
160 BIO_printf(bio_s_out, "PSK warning: client identity not what we expected" in psk_server_cb()
164 BIO_printf(bio_s_out, "PSK client identity found\n"); in psk_server_cb()
170 BIO_printf(bio_err, "Could not convert PSK key '%s' to buffer\n", in psk_server_cb()
175 BIO_printf(bio_err, in psk_server_cb()
186 BIO_printf(bio_s_out, "fetched PSK len=%ld\n", key_len); in psk_server_cb()
190 BIO_printf(bio_err, "Error in PSK server callback\n"); in psk_server_cb()
219 BIO_printf(bio_err, "Could not convert PSK key '%s' to buffer\n", in psk_find_session_cb()
227 BIO_printf(bio_err, "Error finding suitable ciphersuite\n"); in psk_find_session_cb()
431 BIO_printf(p->biodebug, "Hostname in TLS extension: \""); in ssl_servername_cb()
433 BIO_printf(p->biodebug, in ssl_servername_cb()
435 BIO_printf(p->biodebug, "\"\n"); in ssl_servername_cb()
445 BIO_printf(p->biodebug, "Switching server context.\n"); in ssl_servername_cb()
505 BIO_printf(bio_err, "cert_status: AIA URL: %s\n", in get_ocsp_resp_from_responder()
681 BIO_printf(bio_s_out, "ALPN protocols advertised by the client: "); in alpn_cb()
698 BIO_printf(bio_s_out, "ALPN protocols selected: "); in alpn_cb()
1126 BIO_printf(bio_err, "Cannot supply multiple protocol flags\n"); in s_server_main()
1132 BIO_printf(bio_err, in s_server_main()
1140 BIO_printf(bio_err, "%s: Use -help for summary.\n", prog); in s_server_main()
1168 BIO_printf(bio_err, "%s: IPv6 domain sockets unsupported\n", prog); in s_server_main()
1181 BIO_printf(bio_err, in s_server_main()
1196 BIO_printf(bio_err, in s_server_main()
1221 BIO_printf(bio_err, "verify depth is %d\n", verify_args.depth); in s_server_main()
1229 BIO_printf(bio_err, in s_server_main()
1338 BIO_printf(bio_err, "%s: Memory allocation failure\n", prog); in s_server_main()
1422 BIO_printf(bio_err, "Error parsing -status_url argument\n"); in s_server_main()
1439 BIO_printf(bio_err, "Error writing file %s\n", opt_arg()); in s_server_main()
1484 BIO_printf(bio_err, "Not a hex number '%s'\n", psk_key); in s_server_main()
1658 BIO_printf(bio_err, "Invalid value for max_early_data\n"); in s_server_main()
1665 BIO_printf(bio_err, "Invalid value for recv_max_early_data\n"); in s_server_main()
1722 BIO_printf(bio_err, "Cannot supply -nextprotoneg with TLSv1.3\n"); in s_server_main()
1728 BIO_printf(bio_err, "Can't use -HTTP, -www or -WWW with DTLS\n"); in s_server_main()
1733 BIO_printf(bio_err, "Can only use -listen with DTLS\n"); in s_server_main()
1738 BIO_printf(bio_err, "Can't use -rev with DTLS\n"); in s_server_main()
1744 BIO_printf(bio_err, "Can only use -tfo with TLS\n"); in s_server_main()
1749 BIO_printf(bio_err, "Can only use --stateless with TLS\n"); in s_server_main()
1755 BIO_printf(bio_err, in s_server_main()
1761 BIO_printf(bio_err, in s_server_main()
1769 BIO_printf(bio_err, "Can't use -sctp without DTLS\n"); in s_server_main()
1779BIO_printf(bio_out, "Warning: -zerocopy_sendfile depends on -sendfile, enabling -sendfile now.\n"); in s_server_main()
1784 BIO_printf(bio_out, "Warning: -sendfile depends on -ktls, enabling -ktls now.\n"); in s_server_main()
1789 BIO_printf(bio_err, "Can't use -sendfile without -WWW or -HTTP\n"); in s_server_main()
1795 BIO_printf(bio_err, "Error getting password\n"); in s_server_main()
1897 BIO_printf(bio_err, "Out of memory\n"); in s_server_main()
1934 BIO_printf(bio_err, "Error using configuration \"%s\"\n", in s_server_main()
1954 BIO_printf(bio_err, in s_server_main()
1957 BIO_printf(bio_err, "error setting 'id_prefix'\n"); in s_server_main()
1961 BIO_printf(bio_err, "id_prefix '%s' set.\n", session_id_prefix); in s_server_main()
1994 BIO_printf(bio_err, "%s: Max send fragment size %u is out of permitted range\n", in s_server_main()
2001 BIO_printf(bio_err, "%s: Split send fragment size %u is out of permitted range\n", in s_server_main()
2007 BIO_printf(bio_err, "%s: Max pipelines %u is out of permitted range\n", in s_server_main()
2019 BIO_printf(bio_err, "Error setting SRTP profile\n"); in s_server_main()
2032 BIO_printf(bio_err, "Error setting verify params\n"); in s_server_main()
2043 BIO_printf(bio_err, "Error loading store locations\n"); in s_server_main()
2057 BIO_printf(bio_s_out, "Setting secondary ctx parameters\n"); in s_server_main()
2064 BIO_printf(bio_err, in s_server_main()
2067 BIO_printf(bio_err, "error setting 'id_prefix'\n"); in s_server_main()
2071 BIO_printf(bio_err, "id_prefix '%s' set.\n", session_id_prefix); in s_server_main()
2095 BIO_printf(bio_err, "Error setting verify params\n"); in s_server_main()
2122 BIO_printf(bio_s_out, "Setting temp DH parameters\n"); in s_server_main()
2124 BIO_printf(bio_s_out, "Using default temp DH parameters\n"); in s_server_main()
2157 BIO_printf(bio_s_out, "Setting temp DH parameters\n"); in s_server_main()
2206 BIO_printf(bio_s_out, "PSK key given, setting server callback\n"); in s_server_main()
2212 BIO_printf(bio_s_out, "PSK warning: there is NO identity hint in TLSv1.3\n"); in s_server_main()
2215 BIO_printf(bio_err, "error setting PSK identity hint to context\n"); in s_server_main()
2226 BIO_printf(bio_err, "Can't open PSK session file %s\n", psksessf); in s_server_main()
2233 BIO_printf(bio_err, "Can't read PSK session file %s\n", psksessf); in s_server_main()
2247 BIO_printf(bio_err, "error setting session id context\n"); in s_server_main()
2265 BIO_printf(bio_err, "error setting session id context\n"); in s_server_main()
2308 BIO_printf(bio_s_out, "Compressing certificates\n"); in s_server_main()
2310 BIO_printf(bio_s_out, "Error compressing certs on ctx\n"); in s_server_main()
2312 BIO_printf(bio_s_out, "Error compressing certs on ctx2\n"); in s_server_main()
2316 BIO_printf(bio_s_out, "Error setting server certificate types\n"); in s_server_main()
2321 BIO_printf(bio_s_out, "Error setting server certificate types\n"); in s_server_main()
2337 BIO_printf(bio_s_out, "Listening for TFO\n"); in s_server_main()
2385 BIO_printf(bio, "%4ld items in the session cache\n", in print_stats()
2387 BIO_printf(bio, "%4ld client connects (SSL_connect())\n", in print_stats()
2389 BIO_printf(bio, "%4ld client renegotiates (SSL_connect())\n", in print_stats()
2391 BIO_printf(bio, "%4ld client connects that finished\n", in print_stats()
2393 BIO_printf(bio, "%4ld server accepts (SSL_accept())\n", in print_stats()
2395 BIO_printf(bio, "%4ld server renegotiates (SSL_accept())\n", in print_stats()
2397 BIO_printf(bio, "%4ld server accepts that finished\n", in print_stats()
2399 BIO_printf(bio, "%4ld session cache hits\n", SSL_CTX_sess_hits(ssl_ctx)); in print_stats()
2400 BIO_printf(bio, "%4ld session cache misses\n", in print_stats()
2402 BIO_printf(bio, "%4ld session cache timeouts\n", in print_stats()
2404 BIO_printf(bio, "%4ld callback cache hits\n", in print_stats()
2406 BIO_printf(bio, "%4ld cache full overflows (%ld allowed)\n", in print_stats()
2461 BIO_printf(bio_err, "Turned on non blocking io\n"); in sv_body()
2478 BIO_printf(bio_err, "Error setting session id context\n"); in sv_body()
2484 BIO_printf(bio_err, "Error clearing SSL connection\n"); in sv_body()
2497 BIO_printf(bio_err, "Unable to create BIO\n"); in sv_body()
2514 BIO_printf(bio_err, "MTU too small. Must be at least %ld\n", in sv_body()
2522 BIO_printf(bio_err, "Failed to set MTU\n"); in sv_body()
2541 BIO_printf(bio_err, "Unable to create BIO\n"); in sv_body()
2551 BIO_printf(bio_err, "Unable to create BIO\n"); in sv_body()
2596 BIO_printf(bio_err, "Error reading early data\n"); in sv_body()
2603 BIO_printf(bio_s_out, "Early data received:\n"); in sv_body()
2612 BIO_printf(bio_s_out, "No early data received\n"); in sv_body()
2614 BIO_printf(bio_s_out, "Early data was rejected\n"); in sv_body()
2616 BIO_printf(bio_s_out, "\nEnd of early data\n"); in sv_body()
2671 BIO_printf(bio_err, "TIMEOUT occurred\n"); in sv_body()
2706 BIO_printf(bio_s_out, "DONE\n"); in sv_body()
2714 BIO_printf(bio_s_out, "DONE\n"); in sv_body()
2783 BIO_printf(bio_s_out, "LOOKUP renego during write\n"); in sv_body()
2794 BIO_printf(bio_s_out, "Write BLOCK (Async)\n"); in sv_body()
2801 BIO_printf(bio_s_out, "Write BLOCK\n"); in sv_body()
2810 BIO_printf(bio_s_out, "ERROR\n"); in sv_body()
2817 BIO_printf(bio_s_out, "DONE\n"); in sv_body()
2869 BIO_printf(bio_s_out, "LOOKUP renego during read\n"); in sv_body()
2887 BIO_printf(bio_s_out, "Read BLOCK (Async)\n"); in sv_body()
2893 BIO_printf(bio_s_out, "Read BLOCK\n"); in sv_body()
2902 BIO_printf(bio_s_out, "ERROR\n"); in sv_body()
2908 BIO_printf(bio_s_out, "DONE\n"); in sv_body()
2918 BIO_printf(bio_s_out, "shutting down SSL\n"); in sv_body()
2922 BIO_printf(bio_s_out, "CONNECTION CLOSED\n"); in sv_body()
2929 BIO_printf(bio_err, "shutdown accept socket\n"); in close_accept_socket()
2956 BIO_printf(bio_err, "ERROR - memory\n"); in init_ssl_connection()
2974 BIO_printf(bio_err, "ERROR - unable to connect\n"); in init_ssl_connection()
3000 BIO_printf(bio_err, in init_ssl_connection()
3012 BIO_printf(bio_s_out, "LOOKUP during accept %s\n", in init_ssl_connection()
3028 BIO_printf(bio_s_out, "DELAY\n"); in init_ssl_connection()
3032 BIO_printf(bio_err, "ERROR\n"); in init_ssl_connection()
3036 BIO_printf(bio_err, "verify error:%s\n", in init_ssl_connection()
3067 BIO_printf(bio_s_out, "Client certificate\n"); in print_connection_info()
3074 BIO_printf(bio_s_out, "Server-to-client raw public key negotiated\n"); in print_connection_info()
3076 BIO_printf(bio_s_out, "Client-to-server raw public key negotiated\n"); in print_connection_info()
3081 BIO_printf(bio_s_out, "Client raw public key\n"); in print_connection_info()
3087 BIO_printf(bio_s_out, "Shared ciphers:%s\n", buf); in print_connection_info()
3095 BIO_printf(bio_s_out, "CIPHER is %s\n", (str != NULL) ? str : "(NONE)"); in print_connection_info()
3100 BIO_printf(bio_s_out, "NEXTPROTO is "); in print_connection_info()
3102 BIO_printf(bio_s_out, "\n"); in print_connection_info()
3111 BIO_printf(bio_s_out, "SRTP Extension negotiated, profile=%s\n", in print_connection_info()
3116 BIO_printf(bio_s_out, "Reused session-id\n"); in print_connection_info()
3121 BIO_printf(bio_s_out, "Renegotiation is DISABLED\n"); in print_connection_info()
3124 BIO_printf(bio_s_out, "Keying material exporter:\n"); in print_connection_info()
3125 BIO_printf(bio_s_out, " Label: '%s'\n", keymatexportlabel); in print_connection_info()
3126 BIO_printf(bio_s_out, " Length: %i bytes\n", keymatexportlen); in print_connection_info()
3133 BIO_printf(bio_s_out, " Error\n"); in print_connection_info()
3135 BIO_printf(bio_s_out, " Keying material: "); in print_connection_info()
3137 BIO_printf(bio_s_out, "%02X", exportedkeymat[i]); in print_connection_info()
3138 BIO_printf(bio_s_out, "\n"); in print_connection_info()
3144 BIO_printf(bio_err, "Using Kernel TLS for sending\n"); in print_connection_info()
3146 BIO_printf(bio_err, "Using Kernel TLS for receiving\n"); in print_connection_info()
3189 BIO_printf(bio_err, "Turned on non blocking io\n"); in www_body()
3281 BIO_printf(bio_err, "Error reading early data\n"); in www_body()
3299 BIO_printf(bio_s_out, "read R BLOCK\n"); in www_body()
3303 BIO_printf(bio_s_out, "LOOKUP renego during read\n"); in www_body()
3331 BIO_printf(bio_s_out, "SSL_renegotiate -> %d\n", i); in www_body()
3335 BIO_printf(bio_s_out, "SSL_do_handshake() Retval %d\n", in www_body()
3345 BIO_printf(bio_s_out, in www_body()
3392 BIO_printf(io, "Ciphers supported in s_server binary\n"); in www_body()
3397 BIO_printf(io, "%-11s:%-25s ", in www_body()
3405 BIO_printf(io, in www_body()
3427 BIO_printf(io, (SSL_session_reused(con) in www_body()
3430 BIO_printf(io, "%s, Cipher is %s\n", in www_body()
3433 BIO_printf(io, "---\n"); in www_body()
3435 BIO_printf(io, "---\n"); in www_body()
3438 BIO_printf(io, "Client certificate\n"); in www_body()
3483 BIO_printf(io, "'%s' is an invalid file name\r\n", p); in www_body()
3490 BIO_printf(io, "'%s' contains '..' or ':'\r\n", p); in www_body()
3496 BIO_printf(io, "'%s' is an invalid path\r\n", p); in www_body()
3503 BIO_printf(io, "'%s' is a directory\r\n", p); in www_body()
3510 BIO_printf(io, "Error opening '%s' mode='%s'\r\n", p, opmode); in www_body()
3516 BIO_printf(bio_err, "FILE:%s\n", p); in www_body()
3532 BIO_printf(bio_err, "Warning: sendfile requested but KTLS is not available\n"); in www_body()
3545 BIO_printf(io, "Error fstat '%s'\r\n", p); in www_body()
3557 BIO_printf(io, "Error SSL_sendfile '%s'\r\n", p); in www_body()
3567 BIO_printf(bio_err, "KTLS SENDFILE '%s' OK\n", p); in www_body()
3582 BIO_printf(bio_err, "%d\n", i); in www_body()
3585 BIO_printf(bio_err, "RENEGOTIATE\n"); in www_body()
3602 BIO_printf(bio_s_out, "rwrite W BLOCK\n"); in www_body()
3722 BIO_printf(bio_s_out, "LOOKUP renego during accept\n"); in rev_body()
3730 BIO_printf(bio_err, "CONNECTION ESTABLISHED\n"); in rev_body()
3741 BIO_printf(bio_s_out, "read R BLOCK\n"); in rev_body()
3745 BIO_printf(bio_s_out, "LOOKUP renego during read\n"); in rev_body()
3757 BIO_printf(bio_err, "CONNECTION CLOSED\n"); in rev_body()
3767 BIO_printf(bio_err, "CONNECTION CLOSED\n"); in rev_body()
3847 BIO_printf(bio_err, "Error encoding session\n"); in add_session()
3855 BIO_printf(bio_err, "Out of memory adding to external cache\n"); in add_session()
3865 BIO_printf(bio_err, "Unexpected session encoding length\n"); in add_session()
3874 BIO_printf(bio_err, "New session added to external cache\n"); in add_session()
3886 BIO_printf(bio_err, "Lookup session: cache hit\n"); in get_session()
3891 BIO_printf(bio_err, "Lookup session: cache miss\n"); in get_session()