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()
425 BIO_printf(p->biodebug, "Hostname in TLS extension: \""); in ssl_servername_cb()
427 BIO_printf(p->biodebug, in ssl_servername_cb()
429 BIO_printf(p->biodebug, "\"\n"); in ssl_servername_cb()
439 BIO_printf(p->biodebug, "Switching server context.\n"); in ssl_servername_cb()
495 BIO_printf(bio_err, "cert_status: AIA URL: %s\n", in get_ocsp_resp_from_responder()
659 BIO_printf(bio_s_out, "ALPN protocols advertised by the client: "); in alpn_cb()
676 BIO_printf(bio_s_out, "ALPN protocols selected: "); in alpn_cb()
1084 BIO_printf(bio_err, "Cannot supply multiple protocol flags\n"); in s_server_main()
1090 BIO_printf(bio_err, in s_server_main()
1098 BIO_printf(bio_err, "%s: Use -help for summary.\n", prog); in s_server_main()
1126 BIO_printf(bio_err, "%s: IPv6 domain sockets unsupported\n", prog); in s_server_main()
1139 BIO_printf(bio_err, in s_server_main()
1154 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()
1397 BIO_printf(bio_err, "Error writing file %s\n", opt_arg()); in s_server_main()
1442 BIO_printf(bio_err, "Not a hex number '%s'\n", psk_key); in s_server_main()
1616 BIO_printf(bio_err, "Invalid value for max_early_data\n"); in s_server_main()
1623 BIO_printf(bio_err, "Invalid value for recv_max_early_data\n"); in s_server_main()
1659 BIO_printf(bio_err, "Cannot supply -nextprotoneg with TLSv1.3\n"); in s_server_main()
1665 BIO_printf(bio_err, "Can't use -HTTP, -www or -WWW with DTLS\n"); in s_server_main()
1670 BIO_printf(bio_err, "Can only use -listen with DTLS\n"); in s_server_main()
1675 BIO_printf(bio_err, "Can't use -rev with DTLS\n"); in s_server_main()
1681 BIO_printf(bio_err, "Can only use --stateless with TLS\n"); in s_server_main()
1687 BIO_printf(bio_err, in s_server_main()
1693 BIO_printf(bio_err, in s_server_main()
1701 BIO_printf(bio_err, "Can't use -sctp without DTLS\n"); in s_server_main()
1711 BIO_printf(bio_err, "Can't use -sendfile without -WWW or -HTTP\n"); in s_server_main()
1717 BIO_printf(bio_err, "Error getting password\n"); in s_server_main()
1819 BIO_printf(bio_err, "Out of memory\n"); in s_server_main()
1856 BIO_printf(bio_err, "Error using configuration \"%s\"\n", in s_server_main()
1876 BIO_printf(bio_err, in s_server_main()
1879 BIO_printf(bio_err, "error setting 'id_prefix'\n"); in s_server_main()
1883 BIO_printf(bio_err, "id_prefix '%s' set.\n", session_id_prefix); in s_server_main()
1910 BIO_printf(bio_err, "%s: Max send fragment size %u is out of permitted range\n", in s_server_main()
1917 BIO_printf(bio_err, "%s: Split send fragment size %u is out of permitted range\n", in s_server_main()
1923 BIO_printf(bio_err, "%s: Max pipelines %u is out of permitted range\n", in s_server_main()
1935 BIO_printf(bio_err, "Error setting SRTP profile\n"); in s_server_main()
1948 BIO_printf(bio_err, "Error setting verify params\n"); in s_server_main()
1959 BIO_printf(bio_err, "Error loading store locations\n"); in s_server_main()
1973 BIO_printf(bio_s_out, "Setting secondary ctx parameters\n"); in s_server_main()
1980 BIO_printf(bio_err, in s_server_main()
1983 BIO_printf(bio_err, "error setting 'id_prefix'\n"); in s_server_main()
1987 BIO_printf(bio_err, "id_prefix '%s' set.\n", session_id_prefix); in s_server_main()
2011 BIO_printf(bio_err, "Error setting verify params\n"); in s_server_main()
2038 BIO_printf(bio_s_out, "Setting temp DH parameters\n"); in s_server_main()
2040 BIO_printf(bio_s_out, "Using default temp DH parameters\n"); in s_server_main()
2073 BIO_printf(bio_s_out, "Setting temp DH parameters\n"); in s_server_main()
2122 BIO_printf(bio_s_out, "PSK key given, setting server callback\n"); in s_server_main()
2128 BIO_printf(bio_s_out, "PSK warning: there is NO identity hint in TLSv1.3\n"); in s_server_main()
2131 BIO_printf(bio_err, "error setting PSK identity hint to context\n"); in s_server_main()
2142 BIO_printf(bio_err, "Can't open PSK session file %s\n", psksessf); in s_server_main()
2149 BIO_printf(bio_err, "Can't read PSK session file %s\n", psksessf); in s_server_main()
2163 BIO_printf(bio_err, "error setting session id context\n"); in s_server_main()
2181 BIO_printf(bio_err, "error setting session id context\n"); in s_server_main()
2281 BIO_printf(bio, "%4ld items in the session cache\n", in print_stats()
2283 BIO_printf(bio, "%4ld client connects (SSL_connect())\n", in print_stats()
2285 BIO_printf(bio, "%4ld client renegotiates (SSL_connect())\n", in print_stats()
2287 BIO_printf(bio, "%4ld client connects that finished\n", in print_stats()
2289 BIO_printf(bio, "%4ld server accepts (SSL_accept())\n", in print_stats()
2291 BIO_printf(bio, "%4ld server renegotiates (SSL_accept())\n", in print_stats()
2293 BIO_printf(bio, "%4ld server accepts that finished\n", in print_stats()
2295 BIO_printf(bio, "%4ld session cache hits\n", SSL_CTX_sess_hits(ssl_ctx)); in print_stats()
2296 BIO_printf(bio, "%4ld session cache misses\n", in print_stats()
2298 BIO_printf(bio, "%4ld session cache timeouts\n", in print_stats()
2300 BIO_printf(bio, "%4ld callback cache hits\n", in print_stats()
2302 BIO_printf(bio, "%4ld cache full overflows (%ld allowed)\n", in print_stats()
2357 BIO_printf(bio_err, "Turned on non blocking io\n"); in sv_body()
2374 BIO_printf(bio_err, "Error setting session id context\n"); in sv_body()
2380 BIO_printf(bio_err, "Error clearing SSL connection\n"); in sv_body()
2393 BIO_printf(bio_err, "Unable to create BIO\n"); in sv_body()
2410 BIO_printf(bio_err, "MTU too small. Must be at least %ld\n", in sv_body()
2418 BIO_printf(bio_err, "Failed to set MTU\n"); in sv_body()
2437 BIO_printf(bio_err, "Unable to create BIO\n"); in sv_body()
2447 BIO_printf(bio_err, "Unable to create BIO\n"); in sv_body()
2493 BIO_printf(bio_err, "Error reading early data\n"); in sv_body()
2500 BIO_printf(bio_s_out, "Early data received:\n"); in sv_body()
2509 BIO_printf(bio_s_out, "No early data received\n"); in sv_body()
2511 BIO_printf(bio_s_out, "Early data was rejected\n"); in sv_body()
2513 BIO_printf(bio_s_out, "\nEnd of early data\n"); in sv_body()
2567 BIO_printf(bio_err, "TIMEOUT occurred\n"); in sv_body()
2602 BIO_printf(bio_s_out, "DONE\n"); in sv_body()
2610 BIO_printf(bio_s_out, "DONE\n"); in sv_body()
2683 BIO_printf(bio_s_out, "LOOKUP renego during write\n"); in sv_body()
2694 BIO_printf(bio_s_out, "Write BLOCK (Async)\n"); in sv_body()
2701 BIO_printf(bio_s_out, "Write BLOCK\n"); in sv_body()
2710 BIO_printf(bio_s_out, "ERROR\n"); in sv_body()
2717 BIO_printf(bio_s_out, "DONE\n"); in sv_body()
2769 BIO_printf(bio_s_out, "LOOKUP renego during read\n"); in sv_body()
2787 BIO_printf(bio_s_out, "Read BLOCK (Async)\n"); in sv_body()
2793 BIO_printf(bio_s_out, "Read BLOCK\n"); in sv_body()
2802 BIO_printf(bio_s_out, "ERROR\n"); in sv_body()
2808 BIO_printf(bio_s_out, "DONE\n"); in sv_body()
2818 BIO_printf(bio_s_out, "shutting down SSL\n"); in sv_body()
2822 BIO_printf(bio_s_out, "CONNECTION CLOSED\n"); in sv_body()
2829 BIO_printf(bio_err, "shutdown accept socket\n"); in close_accept_socket()
2856 BIO_printf(bio_err, "ERROR - memory\n"); in init_ssl_connection()
2874 BIO_printf(bio_err, "ERROR - unable to connect\n"); in init_ssl_connection()
2900 BIO_printf(bio_err, in init_ssl_connection()
2912 BIO_printf(bio_s_out, "LOOKUP during accept %s\n", in init_ssl_connection()
2928 BIO_printf(bio_s_out, "DELAY\n"); in init_ssl_connection()
2932 BIO_printf(bio_err, "ERROR\n"); in init_ssl_connection()
2936 BIO_printf(bio_err, "verify error:%s\n", in init_ssl_connection()
2967 BIO_printf(bio_s_out, "Client certificate\n"); in print_connection_info()
2974 BIO_printf(bio_s_out, "Shared ciphers:%s\n", buf); in print_connection_info()
2982 BIO_printf(bio_s_out, "CIPHER is %s\n", (str != NULL) ? str : "(NONE)"); in print_connection_info()
2987 BIO_printf(bio_s_out, "NEXTPROTO is "); in print_connection_info()
2989 BIO_printf(bio_s_out, "\n"); in print_connection_info()
2998 BIO_printf(bio_s_out, "SRTP Extension negotiated, profile=%s\n", in print_connection_info()
3003 BIO_printf(bio_s_out, "Reused session-id\n"); in print_connection_info()
3004 BIO_printf(bio_s_out, "Secure Renegotiation IS%s supported\n", in print_connection_info()
3007 BIO_printf(bio_s_out, "Renegotiation is DISABLED\n"); in print_connection_info()
3010 BIO_printf(bio_s_out, "Keying material exporter:\n"); in print_connection_info()
3011 BIO_printf(bio_s_out, " Label: '%s'\n", keymatexportlabel); in print_connection_info()
3012 BIO_printf(bio_s_out, " Length: %i bytes\n", keymatexportlen); in print_connection_info()
3019 BIO_printf(bio_s_out, " Error\n"); in print_connection_info()
3021 BIO_printf(bio_s_out, " Keying material: "); in print_connection_info()
3023 BIO_printf(bio_s_out, "%02X", exportedkeymat[i]); in print_connection_info()
3024 BIO_printf(bio_s_out, "\n"); in print_connection_info()
3030 BIO_printf(bio_err, "Using Kernel TLS for sending\n"); in print_connection_info()
3032 BIO_printf(bio_err, "Using Kernel TLS for receiving\n"); in print_connection_info()
3074 BIO_printf(bio_err, "Turned on non blocking io\n"); in www_body()
3151 BIO_printf(bio_s_out, "read R BLOCK\n"); in www_body()
3155 BIO_printf(bio_s_out, "LOOKUP renego during read\n"); in www_body()
3184 BIO_printf(bio_s_out, "SSL_renegotiate -> %d\n", i); in www_body()
3188 BIO_printf(bio_s_out, "SSL_do_handshake() Retval %d\n", in www_body()
3198 BIO_printf(bio_s_out, in www_body()
3239 BIO_printf(io, in www_body()
3247 BIO_printf(io, "Ciphers supported in s_server binary\n"); in www_body()
3252 BIO_printf(io, "%-11s:%-25s ", in www_body()
3260 BIO_printf(io, in www_body()
3282 BIO_printf(io, (SSL_session_reused(con) in www_body()
3285 BIO_printf(io, "%s, Cipher is %s\n", in www_body()
3288 BIO_printf(io, "---\n"); in www_body()
3290 BIO_printf(io, "---\n"); in www_body()
3293 BIO_printf(io, "Client certificate\n"); in www_body()
3342 BIO_printf(io, "'%s' is an invalid file name\r\n", p); in www_body()
3349 BIO_printf(io, "'%s' contains '..' or ':'\r\n", p); in www_body()
3355 BIO_printf(io, "'%s' is an invalid path\r\n", p); in www_body()
3362 BIO_printf(io, "'%s' is a directory\r\n", p); in www_body()
3369 BIO_printf(io, "Error opening '%s' mode='%s'\r\n", p, opmode); in www_body()
3375 BIO_printf(bio_err, "FILE:%s\n", p); in www_body()
3391 BIO_printf(bio_err, "Warning: sendfile requested but KTLS is not available\n"); in www_body()
3404 BIO_printf(io, "Error fstat '%s'\r\n", p); in www_body()
3416 BIO_printf(io, "Error SSL_sendfile '%s'\r\n", p); in www_body()
3426 BIO_printf(bio_err, "KTLS SENDFILE '%s' OK\n", p); in www_body()
3441 BIO_printf(bio_err, "%d\n", i); in www_body()
3444 BIO_printf(bio_err, "RENEGOTIATE\n"); in www_body()
3461 BIO_printf(bio_s_out, "rwrite W BLOCK\n"); in www_body()
3580 BIO_printf(bio_s_out, "LOOKUP renego during accept\n"); in rev_body()
3588 BIO_printf(bio_err, "CONNECTION ESTABLISHED\n"); in rev_body()
3599 BIO_printf(bio_s_out, "read R BLOCK\n"); in rev_body()
3603 BIO_printf(bio_s_out, "LOOKUP renego during read\n"); in rev_body()
3615 BIO_printf(bio_err, "CONNECTION CLOSED\n"); in rev_body()
3625 BIO_printf(bio_err, "CONNECTION CLOSED\n"); in rev_body()
3705 BIO_printf(bio_err, "Error encoding session\n"); in add_session()
3713 BIO_printf(bio_err, "Out of memory adding to external cache\n"); in add_session()
3723 BIO_printf(bio_err, "Unexpected session encoding length\n"); in add_session()
3732 BIO_printf(bio_err, "New session added to external cache\n"); in add_session()
3744 BIO_printf(bio_err, "Lookup session: cache hit\n"); in get_session()
3748 BIO_printf(bio_err, "Lookup session: cache miss\n"); in get_session()