Lines Matching refs:BIO_printf
151 BIO_printf(bio_c_out, "psk_client_cb\n"); in psk_client_cb()
155 BIO_printf(bio_c_out, in psk_client_cb()
158 BIO_printf(bio_c_out, "Received PSK identity hint '%s'\n", hint); in psk_client_cb()
168 BIO_printf(bio_c_out, "created identity '%s' len=%d\n", identity, in psk_client_cb()
174 BIO_printf(bio_err, "Could not convert PSK key '%s' to buffer\n", in psk_client_cb()
179 BIO_printf(bio_err, in psk_client_cb()
190 BIO_printf(bio_c_out, "created PSK len=%ld\n", key_len); in psk_client_cb()
195 BIO_printf(bio_err, "Error in PSK client callback\n"); in psk_client_cb()
218 BIO_printf(bio_err, "Could not convert PSK key '%s' to buffer\n", in psk_use_session_cb()
226 BIO_printf(bio_err, "Error finding suitable ciphersuite\n"); in psk_use_session_cb()
278 BIO_printf(bio_err, "Can't use SSL_get_servername\n"); in ssl_servername_cb()
302 BIO_printf(bio_c_out, "Protocols advertised by server: "); in next_proto_cb()
438 BIO_printf(bio_err, "%s: warning: bad TLSA %s field in: %s\n", in tlsa_import_rr()
449 BIO_printf(bio_err, "%s: warning: unusable TLSA rrdata: %s\n", in tlsa_import_rr()
455 BIO_printf(bio_err, "%s: warning: error loading TLSA rrdata: %s\n", in tlsa_import_rr()
819 BIO_printf(bio_err, "Error writing session file %s\n", sess_out); in new_session_cb()
831 BIO_printf(bio_c_out, in new_session_cb()
834 BIO_printf(bio_c_out, "---\n"); in new_session_cb()
982 BIO_printf(bio_err, "%s: out of memory\n", opt_getprog()); in s_client_main()
996 BIO_printf(bio_err, in s_client_main()
1002 BIO_printf(bio_err, in s_client_main()
1009 BIO_printf(bio_err, "Cannot supply multiple protocol flags\n"); in s_client_main()
1015 BIO_printf(bio_err, in s_client_main()
1024 BIO_printf(bio_err, "%s: Use -help for summary.\n", prog); in s_client_main()
1082 BIO_printf(bio_err, "verify depth is %d\n", verify_args.depth); in s_client_main()
1127 BIO_printf(bio_err, "%s: Memory allocation failure\n", prog); in s_client_main()
1171 BIO_printf(bio_err, "Error getting client auth engine\n"); in s_client_main()
1212 BIO_printf(bio_err, "Error writing file %s\n", opt_arg()); in s_client_main()
1243 BIO_printf(bio_err, "Not a hex number '%s'\n", psk_key); in s_client_main()
1263 BIO_printf(bio_err, "SRP minimal length for N is %d\n", in s_client_main()
1467 BIO_printf(bio_err, "%s: Memory allocation failure\n", prog); in s_client_main()
1537 BIO_printf(bio_err, in s_client_main()
1582 BIO_printf(bio_err, in s_client_main()
1599 BIO_printf(bio_err, "%s: Can't use both -4 and -6\n", prog); in s_client_main()
1604 BIO_printf(bio_err, in s_client_main()
1610 BIO_printf(bio_err, in s_client_main()
1619 BIO_printf(bio_err, "Cannot supply -nextprotoneg with TLSv1.3\n"); in s_client_main()
1634 BIO_printf(bio_err, in s_client_main()
1647 BIO_printf(bio_err, "%s: -proxy requires use of -connect or target parameter\n", prog); in s_client_main()
1654 BIO_printf(bio_err, "%s: out of memory\n", prog); in s_client_main()
1663 BIO_printf(bio_err, "%s: out of memory\n", prog); in s_client_main()
1673 BIO_printf(bio_err, in s_client_main()
1678 BIO_printf(bio_err, in s_client_main()
1690 BIO_printf(bio_err, in s_client_main()
1699 BIO_printf(bio_err, in s_client_main()
1708 BIO_printf(bio_err, "Can't use -sctp without DTLS\n"); in s_client_main()
1722 BIO_printf(bio_err, "Error parsing -nextprotoneg argument\n"); in s_client_main()
1730 BIO_printf(bio_err, "Error getting private key password\n"); in s_client_main()
1735 BIO_printf(bio_err, "Error getting proxy password\n"); in s_client_main()
1740 BIO_printf(bio_err, "Error: Must specify proxy_user with proxy_pass\n"); in s_client_main()
1789 BIO_printf(bio_err, "Out of memory\n"); in s_client_main()
1798 BIO_printf(bio_err, "Unable to create BIO\n"); in s_client_main()
1804 BIO_printf(bio_err, "Error getting password\n"); in s_client_main()
1825 BIO_printf(bio_err, "Error using configuration \"%s\"\n", in s_client_main()
1852 BIO_printf(bio_err, "Error setting verify params\n"); in s_client_main()
1863 BIO_printf(bio_err, "%s: Max send fragment size %u is out of permitted range\n", in s_client_main()
1870 BIO_printf(bio_err, "%s: Split send fragment size %u is out of permitted range\n", in s_client_main()
1877 BIO_printf(bio_err, "%s: Max pipelines %u is out of permitted range\n", in s_client_main()
1888 BIO_printf(bio_err, in s_client_main()
1898 BIO_printf(bio_err, "Error loading store locations\n"); in s_client_main()
1907 BIO_printf(bio_err, "Error loading CA names\n"); in s_client_main()
1928 BIO_printf(bio_c_out, "PSK key given, setting client callback\n"); in s_client_main()
1936 BIO_printf(bio_err, "Can't open PSK session file %s\n", psksessf); in s_client_main()
1943 BIO_printf(bio_err, "Can't read PSK session file %s\n", psksessf); in s_client_main()
1955 BIO_printf(bio_err, "Error setting SRTP profile\n"); in s_client_main()
1974 BIO_printf(bio_err, "Error parsing -alpn argument\n"); in s_client_main()
1979 BIO_printf(bio_err, "Error setting ALPN\n"); in s_client_main()
1990 BIO_printf(bio_err, in s_client_main()
2049 BIO_printf(bio_err, in s_client_main()
2078 BIO_printf(bio_err, "Error setting client certificate types\n"); in s_client_main()
2083 BIO_printf(bio_err, "Error setting server certificate types\n"); in s_client_main()
2092 BIO_printf(bio_err, "Can't open session file %s\n", sess_in); in s_client_main()
2099 BIO_printf(bio_err, "Can't open session file %s\n", sess_in); in s_client_main()
2104 BIO_printf(bio_err, "Can't set session\n"); in s_client_main()
2121 BIO_printf(bio_err, "Unable to set TLS servername extension.\n"); in s_client_main()
2129 BIO_printf(bio_err, "%s: Error enabling DANE TLSA " in s_client_main()
2135 BIO_printf(bio_err, "%s: DANE TLSA authentication requires at " in s_client_main()
2140 BIO_printf(bio_err, "%s: Failed to import any TLSA " in s_client_main()
2147 BIO_printf(bio_err, "%s: DANE TLSA authentication requires the " in s_client_main()
2153 BIO_printf(bio_err, "%s: DTLS does not support the -tfo option\n", prog); in s_client_main()
2159 BIO_printf(bio_err, "%s: QUIC does not support the -tfo option\n", prog); in s_client_main()
2163 …BIO_printf(bio_err, "%s: QUIC requires ALPN to be specified (e.g. \"h3\" for HTTP/3) via the -alpn… in s_client_main()
2169 BIO_printf(bio_c_out, "Connecting via TFO\n"); in s_client_main()
2176 BIO_printf(bio_err, "connect:errno=%d\n", get_last_socket_error()); in s_client_main()
2180 BIO_printf(bio_c_out, "CONNECTED(%08X)\n", sock); in s_client_main()
2194 BIO_printf(bio_c_out, "Turned on non blocking io\n"); in s_client_main()
2209 BIO_printf(bio_err, "memory allocation failure\n"); in s_client_main()
2215 BIO_printf(bio_err, "getsockname:errno=%d\n", in s_client_main()
2239 BIO_printf(bio_err, "MTU too small. Must be at least %ld\n", in s_client_main()
2246 BIO_printf(bio_err, "Failed to set MTU\n"); in s_client_main()
2260 BIO_printf(bio_err, "Failed to set the initial peer address\n"); in s_client_main()
2268 BIO_printf(bio_err, "Unable to create BIO\n"); in s_client_main()
2285 BIO_printf(bio_err, "Unable to create BIO\n"); in s_client_main()
2366 BIO_printf(bio_err, "Unable to create BIO\n"); in s_client_main()
2377 BIO_printf(fbio, "LHLO %s\r\n", protohost); in s_client_main()
2379 BIO_printf(fbio, "EHLO %s\r\n", protohost); in s_client_main()
2394 BIO_printf(bio_err, in s_client_main()
2397 BIO_printf(sbio, "STARTTLS\r\n"); in s_client_main()
2404 BIO_printf(sbio, "STLS\r\n"); in s_client_main()
2407 BIO_printf(bio_err, "BIO_read failed\n"); in s_client_main()
2418 BIO_printf(bio_err, "Unable to create BIO\n"); in s_client_main()
2424 BIO_printf(fbio, ". CAPABILITY\r\n"); in s_client_main()
2437 BIO_printf(bio_err, in s_client_main()
2440 BIO_printf(sbio, ". STARTTLS\r\n"); in s_client_main()
2449 BIO_printf(bio_err, "Unable to create BIO\n"); in s_client_main()
2461 BIO_printf(sbio, "AUTH TLS\r\n"); in s_client_main()
2469 BIO_printf(sbio, "<stream:stream " in s_client_main()
2476 BIO_printf(bio_err, "BIO_read failed\n"); in s_client_main()
2492 BIO_printf(sbio, in s_client_main()
2496 BIO_printf(bio_err, "BIO_read failed\n"); in s_client_main()
2541 BIO_printf(bio_err, "Unable to create BIO\n"); in s_client_main()
2545 BIO_printf(fbio, "STARTTLS\r\n"); in s_client_main()
2568 BIO_printf(bio_err, in s_client_main()
2581 BIO_printf(bio_err, "STARTTLS not supported: %s", mbuf); in s_client_main()
2585 BIO_printf(bio_err, "STARTTLS negotiation failed: "); in s_client_main()
2595 BIO_printf(bio_err, "Server does not support STARTTLS.\n"); in s_client_main()
2627 BIO_printf(bio_err, "BIO_read failed\n"); in s_client_main()
2631 BIO_printf(bio_err, "MySQL packet too short.\n"); in s_client_main()
2636 BIO_printf(bio_err, "MySQL packet length does not match.\n"); in s_client_main()
2640 BIO_printf(bio_err, in s_client_main()
2649 BIO_printf(bio_err, "Cannot confirm server version. "); in s_client_main()
2658 BIO_printf(bio_err, in s_client_main()
2665 BIO_printf(bio_err, in s_client_main()
2672 BIO_printf(bio_err, "MySQL server does not support SSL.\n"); in s_client_main()
2705 BIO_printf(bio_err, "Unable to create BIO\n"); in s_client_main()
2711 BIO_printf(fbio, "CAPABILITIES\r\n"); in s_client_main()
2727 BIO_printf(bio_err, in s_client_main()
2730 BIO_printf(sbio, "STARTTLS\r\n"); in s_client_main()
2733 BIO_printf(bio_err, "BIO_read failed\n"); in s_client_main()
2738 BIO_printf(bio_err, "STARTTLS failed: %s", mbuf); in s_client_main()
2749 BIO_printf(bio_err, "Unable to create BIO\n"); in s_client_main()
2770 BIO_printf(bio_err, in s_client_main()
2773 BIO_printf(sbio, "STARTTLS\r\n"); in s_client_main()
2776 BIO_printf(bio_err, "BIO_read failed\n"); in s_client_main()
2781 BIO_printf(bio_err, "STARTTLS failed: %s", mbuf); in s_client_main()
2791 BIO_printf(bio_err, "STARTTLS not supported: %s", mbuf); in s_client_main()
2821 BIO_printf(bio_err, "NCONF_load_bio failed\n"); in s_client_main()
2824 BIO_printf(bio_err, "Error on line %ld\n", errline); in s_client_main()
2832 BIO_printf(bio_err, "NCONF_get_string failed\n"); in s_client_main()
2838 BIO_printf(bio_err, "ASN1_generate_nconf failed\n"); in s_client_main()
2851 BIO_printf(bio_err, "BIO_read failed\n"); in s_client_main()
2856 BIO_printf(bio_err, "ldap_ExtendedResponse_parse failed\n"); in s_client_main()
2859 BIO_printf(bio_err, "STARTTLS failed, LDAP Result Code: %i\n", in s_client_main()
2878 BIO_printf(bio_err, "Cannot open early data file\n"); in s_client_main()
2894 BIO_printf(bio_err, "Error writing early data\n"); in s_client_main()
2943 BIO_printf(bio_c_out, in s_client_main()
2957 BIO_printf(bio_err, "ERROR\n"); in s_client_main()
3059 BIO_printf(bio_err, "bad select %d\n", in s_client_main()
3070 BIO_printf(bio_err, "TIMEOUT occurred\n"); in s_client_main()
3094 BIO_printf(bio_c_out, "write W BLOCK\n"); in s_client_main()
3099 BIO_printf(bio_c_out, "write A BLOCK\n"); in s_client_main()
3105 BIO_printf(bio_c_out, "write R BLOCK\n"); in s_client_main()
3111 BIO_printf(bio_c_out, "write X BLOCK\n"); in s_client_main()
3115 BIO_printf(bio_c_out, "shutdown\n"); in s_client_main()
3129 BIO_printf(bio_err, "write:errno=%d\n", sockerr); in s_client_main()
3157 BIO_printf(bio_c_out, "DONE\n"); in s_client_main()
3192 BIO_printf(bio_c_out, "read A BLOCK\n"); in s_client_main()
3200 BIO_printf(bio_c_out, "read W BLOCK\n"); in s_client_main()
3205 BIO_printf(bio_c_out, "read R BLOCK\n"); in s_client_main()
3212 BIO_printf(bio_c_out, "read X BLOCK\n"); in s_client_main()
3219 BIO_printf(bio_err, "read:errno=%d\n", ret); in s_client_main()
3222 BIO_printf(bio_c_out, "closed\n"); in s_client_main()
3272 BIO_printf(bio_err, "DONE\n"); in s_client_main()
3386 BIO_printf(bio, "---\nCertificate chain\n"); in print_stuff()
3388 BIO_printf(bio, "%2d s:", i); in print_stuff()
3391 BIO_printf(bio, " i:"); in print_stuff()
3396 BIO_printf(bio, " a:PKEY: %s, %d (bit); sigalg: %s\n", in print_stuff()
3402 BIO_printf(bio, " v:NotBefore: "); in print_stuff()
3404 BIO_printf(bio, "; NotAfter: "); in print_stuff()
3412 BIO_printf(bio, "---\n"); in print_stuff()
3415 BIO_printf(bio, "Server certificate\n"); in print_stuff()
3422 BIO_printf(bio, "no peer certificate available\n"); in print_stuff()
3427 BIO_printf(bio, "Client-to-server raw public key negotiated\n"); in print_stuff()
3429 BIO_printf(bio, "Server-to-client raw public key negotiated\n"); in print_stuff()
3434 BIO_printf(bio, "Server raw public key\n"); in print_stuff()
3437 BIO_printf(bio, "no peer rpk available\n"); in print_stuff()
3460 BIO_printf(bio, "---\nSCTs present (%i)\n", sct_count); in print_stuff()
3464 BIO_printf(bio, "---\n"); in print_stuff()
3468 BIO_printf(bio, "SCT validation status: %s\n", in print_stuff()
3472 BIO_printf(bio, "\n---\n"); in print_stuff()
3474 BIO_printf(bio, "\n"); in print_stuff()
3479 BIO_printf(bio, in print_stuff()
3486 BIO_printf(bio, (SSL_session_reused(s) ? "---\nReused, " : "---\nNew, ")); in print_stuff()
3488 BIO_printf(bio, "%s, Cipher is %s\n", in print_stuff()
3490 BIO_printf(bio, "Protocol: %s\n", SSL_get_version(s)); in print_stuff()
3495 BIO_printf(bio, "Server public key is %d bit\n", in print_stuff()
3504 BIO_printf(bio, "Compression: %s\n", in print_stuff()
3506 BIO_printf(bio, "Expansion: %s\n", in print_stuff()
3511 BIO_printf(bio_err, "Using Kernel TLS for sending\n"); in print_stuff()
3513 BIO_printf(bio_err, "Using Kernel TLS for receiving\n"); in print_stuff()
3524 BIO_printf(bio_c_out, "LOCAL PORT is %u\n", in print_stuff()
3535 BIO_printf(bio, "Next protocol: (%d) ", next_proto.status); in print_stuff()
3545 BIO_printf(bio, "ALPN protocol: "); in print_stuff()
3549 BIO_printf(bio, "No ALPN negotiated\n"); in print_stuff()
3558 BIO_printf(bio, "SRTP Extension negotiated, profile=%s\n", in print_stuff()
3566 BIO_printf(bio, "Early data was not sent\n"); in print_stuff()
3570 BIO_printf(bio, "Early data was rejected\n"); in print_stuff()
3574 BIO_printf(bio, "Early data was accepted\n"); in print_stuff()
3585 BIO_printf(bio, "Verify return code: %ld (%s)\n", verify_result, in print_stuff()
3593 BIO_printf(bio, "Keying material exporter:\n"); in print_stuff()
3594 BIO_printf(bio, " Label: '%s'\n", keymatexportlabel); in print_stuff()
3595 BIO_printf(bio, " Length: %i bytes\n", keymatexportlen); in print_stuff()
3602 BIO_printf(bio, " Error\n"); in print_stuff()
3604 BIO_printf(bio, " Keying material: "); in print_stuff()
3606 BIO_printf(bio, "%02X", exportedkeymat[i]); in print_stuff()
3607 BIO_printf(bio, "\n"); in print_stuff()
3611 BIO_printf(bio, "---\n"); in print_stuff()
3682 BIO_printf(bio_err, "Unexpected LDAP response\n"); in ldap_ExtendedResponse_parse()
3692 BIO_printf(bio_err, "No MessageID\n"); in ldap_ExtendedResponse_parse()
3703 BIO_printf(bio_err, "Not ExtendedResponse\n"); in ldap_ExtendedResponse_parse()
3712 BIO_printf(bio_err, "Not LDAPResult\n"); in ldap_ExtendedResponse_parse()
3827 BIO_printf(bio_err, "Enter text to send to the peer followed by <enter>\n"); in user_data_execute()
3828 BIO_printf(bio_err, "To issue a command insert {cmd} or {cmd:arg} anywhere in the text\n"); in user_data_execute()
3829 BIO_printf(bio_err, "Entering {{ will send { to the peer\n"); in user_data_execute()
3830 BIO_printf(bio_err, "The following commands are available\n"); in user_data_execute()
3831 BIO_printf(bio_err, " {help}: Get this help text\n"); in user_data_execute()
3832 BIO_printf(bio_err, " {quit}: Close the connection to the peer\n"); in user_data_execute()
3833 BIO_printf(bio_err, " {reconnect}: Reconnect to the peer\n"); in user_data_execute()
3835 … BIO_printf(bio_err, " {fin}: Send FIN on the stream. No further writing is possible\n"); in user_data_execute()
3837 BIO_printf(bio_err, " {keyup:req|noreq}: Send a Key Update message\n"); in user_data_execute()
3838 BIO_printf(bio_err, " Arguments:\n"); in user_data_execute()
3839 BIO_printf(bio_err, " req = peer update requested (default)\n"); in user_data_execute()
3840 BIO_printf(bio_err, " noreq = peer update not requested\n"); in user_data_execute()
3842 BIO_printf(bio_err, " {reneg}: Attempt to renegotiate\n"); in user_data_execute()
3844 BIO_printf(bio_err, "\n"); in user_data_execute()
3848 BIO_printf(bio_err, "DONE\n"); in user_data_execute()
3852 BIO_printf(bio_err, "RECONNECTING\n"); in user_data_execute()
3859 BIO_printf(bio_err, "RENEGOTIATING\n"); in user_data_execute()
3873 BIO_printf(bio_err, "KEYUPDATE\n"); in user_data_execute()
3889 BIO_printf(bio_err, "ERROR\n"); in user_data_execute()
3957 BIO_printf(bio_err, in user_data_process()
3997 BIO_printf(bio_err, "UNRECOGNISED COMMAND (IGNORED): %s\n", in user_data_process()
4002 BIO_printf(bio_err, "BAD ARGUMENT (COMMAND IGNORED): %s\n", in user_data_process()