Lines Matching refs:BIO_printf
235 BIO_printf(bio_c_out, "psk_client_cb\n"); in psk_client_cb()
240 BIO_printf(bio_c_out,"NULL received PSK identity hint, continuing anyway\n"); in psk_client_cb()
243 BIO_printf(bio_c_out, "Received PSK identity hint '%s'\n", hint); in psk_client_cb()
250 BIO_printf(bio_c_out, "created identity '%s' len=%d\n", identity, ret); in psk_client_cb()
254 BIO_printf(bio_err,"Could not convert PSK key '%s' to BIGNUM\n", psk_key); in psk_client_cb()
262 BIO_printf(bio_err,"psk buffer of callback is too small (%d) for key (%d)\n", in psk_client_cb()
274 BIO_printf(bio_c_out, "created PSK len=%d\n", psk_len); in psk_client_cb()
279 BIO_printf(bio_err, "Error in PSK client callback\n"); in psk_client_cb()
286 BIO_printf(bio_err,"usage: s_client args\n"); in sc_usage()
287 BIO_printf(bio_err,"\n"); in sc_usage()
288 BIO_printf(bio_err," -host host - use -connect instead\n"); in sc_usage()
289 BIO_printf(bio_err," -port port - use -connect instead\n"); in sc_usage()
290 …BIO_printf(bio_err," -connect host:port - who to connect to (default is %s:%s)\n",SSL_HOST_NAME,PO… in sc_usage()
292 BIO_printf(bio_err," -verify arg - turn on peer certificate verification\n"); in sc_usage()
293 BIO_printf(bio_err," -cert arg - certificate file to use, PEM format assumed\n"); in sc_usage()
294 BIO_printf(bio_err," -certform arg - certificate format (PEM or DER) PEM default\n"); in sc_usage()
295 BIO_printf(bio_err," -key arg - Private key file to use, in cert file if\n"); in sc_usage()
296 BIO_printf(bio_err," not specified but cert file is.\n"); in sc_usage()
297 BIO_printf(bio_err," -keyform arg - key format (PEM or DER) PEM default\n"); in sc_usage()
298 BIO_printf(bio_err," -pass arg - private key file pass phrase source\n"); in sc_usage()
299 BIO_printf(bio_err," -CApath arg - PEM format directory of CA's\n"); in sc_usage()
300 BIO_printf(bio_err," -CAfile arg - PEM format file of CA's\n"); in sc_usage()
301 BIO_printf(bio_err," -reconnect - Drop and re-make the connection with the same Session-ID\n"); in sc_usage()
302 BIO_printf(bio_err," -pause - sleep(1) after each read(2) and write(2) system call\n"); in sc_usage()
303 BIO_printf(bio_err," -showcerts - show all certificates in the chain\n"); in sc_usage()
304 BIO_printf(bio_err," -debug - extra output\n"); in sc_usage()
306 BIO_printf(bio_err," -wdebug - WATT-32 tcp debugging\n"); in sc_usage()
308 BIO_printf(bio_err," -msg - Show protocol messages\n"); in sc_usage()
309 BIO_printf(bio_err," -nbio_test - more ssl protocol testing\n"); in sc_usage()
310 BIO_printf(bio_err," -state - print the 'ssl' states\n"); in sc_usage()
312 BIO_printf(bio_err," -nbio - Run with non-blocking IO\n"); in sc_usage()
314 BIO_printf(bio_err," -crlf - convert LF from terminal into CRLF\n"); in sc_usage()
315 BIO_printf(bio_err," -quiet - no s_client output\n"); in sc_usage()
316 BIO_printf(bio_err," -ign_eof - ignore input eof (default when -quiet)\n"); in sc_usage()
317 BIO_printf(bio_err," -no_ign_eof - don't ignore input eof\n"); in sc_usage()
319 BIO_printf(bio_err," -psk_identity arg - PSK identity\n"); in sc_usage()
320 BIO_printf(bio_err," -psk arg - PSK in hex (without 0x)\n"); in sc_usage()
322 BIO_printf(bio_err," -jpake arg - JPAKE secret to use\n"); in sc_usage()
326 BIO_printf(bio_err," -srpuser user - SRP authentification for 'user'\n"); in sc_usage()
327 BIO_printf(bio_err," -srppass arg - password for 'user'\n"); in sc_usage()
328 BIO_printf(bio_err," -srp_lateuser - SRP username into second ClientHello message\n"); in sc_usage()
329 BIO_printf(bio_err," -srp_moregroups - Tolerate other than the known g N values.\n"); in sc_usage()
330 …BIO_printf(bio_err," -srp_strength int - minimal mength in bits for N (default %d).\n",SRP_MINIMAL… in sc_usage()
332 BIO_printf(bio_err," -ssl2 - just use SSLv2\n"); in sc_usage()
333 BIO_printf(bio_err," -ssl3 - just use SSLv3\n"); in sc_usage()
334 BIO_printf(bio_err," -tls1_2 - just use TLSv1.2\n"); in sc_usage()
335 BIO_printf(bio_err," -tls1_1 - just use TLSv1.1\n"); in sc_usage()
336 BIO_printf(bio_err," -tls1 - just use TLSv1\n"); in sc_usage()
337 BIO_printf(bio_err," -dtls1 - just use DTLSv1\n"); in sc_usage()
338 BIO_printf(bio_err," -mtu - set the link layer MTU\n"); in sc_usage()
339 BIO_printf(bio_err," -no_tls1_2/-no_tls1_1/-no_tls1/-no_ssl3/-no_ssl2 - turn off that protocol\n"); in sc_usage()
340 BIO_printf(bio_err," -bugs - Switch on all SSL implementation bug workarounds\n"); in sc_usage()
341 BIO_printf(bio_err," -serverpref - Use server's cipher preferences (only SSLv2)\n"); in sc_usage()
342 BIO_printf(bio_err," -cipher - preferred cipher to use, use the 'openssl ciphers'\n"); in sc_usage()
343 BIO_printf(bio_err," command to see what is available\n"); in sc_usage()
344 BIO_printf(bio_err," -starttls prot - use the STARTTLS command before starting TLS\n"); in sc_usage()
345 BIO_printf(bio_err," for those protocols that support it, where\n"); in sc_usage()
346 BIO_printf(bio_err," 'prot' defines which one to assume. Currently,\n"); in sc_usage()
347 BIO_printf(bio_err," only \"smtp\", \"pop3\", \"imap\", \"ftp\" and \"xmpp\"\n"); in sc_usage()
348 BIO_printf(bio_err," are supported.\n"); in sc_usage()
350 BIO_printf(bio_err," -engine id - Initialise and use the specified engine\n"); in sc_usage()
352 BIO_printf(bio_err," -rand file%cfile%c...\n", LIST_SEPARATOR_CHAR, LIST_SEPARATOR_CHAR); in sc_usage()
353 BIO_printf(bio_err," -sess_out arg - file to write SSL session to\n"); in sc_usage()
354 BIO_printf(bio_err," -sess_in arg - file to read SSL session from\n"); in sc_usage()
356 BIO_printf(bio_err," -servername host - Set TLS extension servername in ClientHello\n"); in sc_usage()
357 BIO_printf(bio_err," -tlsextdebug - hex dump of all TLS extensions received\n"); in sc_usage()
358 BIO_printf(bio_err," -status - request certificate status from server\n"); in sc_usage()
359 BIO_printf(bio_err," -no_ticket - disable use of RFC4507bis session tickets\n"); in sc_usage()
361 …BIO_printf(bio_err," -nextprotoneg arg - enable NPN extension, considering named protocols support… in sc_usage()
364 BIO_printf(bio_err," -cutthrough - enable 1-RTT full-handshake for strong ciphers\n"); in sc_usage()
365 BIO_printf(bio_err," -legacy_renegotiation - enable use of legacy renegotiation (dangerous)\n"); in sc_usage()
367 …BIO_printf(bio_err," -use_srtp profiles - Offer SRTP key management with a colon-separated profile… in sc_usage()
369 BIO_printf(bio_err," -keymatexport label - Export keying material using label\n"); in sc_usage()
370 BIO_printf(bio_err," -keymatexportlen len - Export len bytes of keying material (default 20)\n"); in sc_usage()
389 BIO_printf(bio_err,"Can't use SSL_get_servername\n"); in ssl_servername_cb()
460 BIO_printf(bio_err, "SRP parameters:\n"); in ssl_srp_verify_param_cb()
461 BIO_printf(bio_err,"\tN="); BN_print(bio_err,N); in ssl_srp_verify_param_cb()
462 BIO_printf(bio_err,"\n\tg="); BN_print(bio_err,g); in ssl_srp_verify_param_cb()
463 BIO_printf(bio_err,"\n"); in ssl_srp_verify_param_cb()
472 BIO_printf(bio_err, "SRP param N and g are not known params, going to check deeper.\n"); in ssl_srp_verify_param_cb()
481 BIO_printf(bio_err, "SRP param N and g rejected.\n"); in ssl_srp_verify_param_cb()
498 BIO_printf (bio_err, "Can't read Password\n"); in ssl_give_srp_client_pwd_cb()
530 BIO_printf(bio_c_out, "Protocols advertised by server: "); in next_proto_cb()
651 BIO_printf(bio_err,"out of memory\n"); in MAIN()
687 BIO_printf(bio_err,"verify depth is %d\n",verify_depth); in MAIN()
768 BIO_printf(bio_err,"Not a hex number '%s'\n",*argv); in MAIN()
790 BIO_printf(bio_err,"SRP minimal length for N is %d\n",srp_arg.strength); in MAIN()
976 BIO_printf(bio_err,"unknown option %s\n",*argv); in MAIN()
995 BIO_printf(bio_err, in MAIN()
1002 BIO_printf(bio_err, "JPAKE sets cipher to PSK\n"); in MAIN()
1019 BIO_printf(bio_err, "Error parsing -nextprotoneg argument\n"); in MAIN()
1034 BIO_printf(bio_err, in MAIN()
1043 BIO_printf(bio_err, "Error getting password\n"); in MAIN()
1081 BIO_printf(bio_err,"warning, not much extra random data, consider using the -rand option\n"); in MAIN()
1084 BIO_printf(bio_err,"%ld semi-random bytes loaded\n", in MAIN()
1103 BIO_printf(bio_err, "Error getting password\n"); in MAIN()
1140 BIO_printf(bio_c_out, "PSK key given or JPAKE in use, setting client callback\n"); in MAIN()
1177 BIO_printf(bio_err,"error setting cipher list\n"); in MAIN()
1210 BIO_printf(bio_err,"Unable to set SRP username\n"); in MAIN()
1232 BIO_printf(bio_err, "Can't open session file %s\n", in MAIN()
1241 BIO_printf(bio_err, "Can't open session file %s\n", in MAIN()
1254 BIO_printf(bio_err,"Unable to set TLS servername extension.\n"); in MAIN()
1278 BIO_printf(bio_err,"connect:errno=%d\n",get_last_socket_error()); in MAIN()
1282 BIO_printf(bio_c_out,"CONNECTED(%08X)\n",s); in MAIN()
1288 BIO_printf(bio_c_out,"turning on non blocking io\n"); in MAIN()
1304 BIO_printf(bio_err, "getsockname:errno=%d\n", in MAIN()
1419 BIO_printf(fbio,"EHLO openssl.client.net\r\n"); in MAIN()
1433 BIO_printf(bio_err, in MAIN()
1436 BIO_printf(sbio,"STARTTLS\r\n"); in MAIN()
1442 BIO_printf(sbio,"STLS\r\n"); in MAIN()
1452 BIO_printf(fbio,". CAPABILITY\r\n"); in MAIN()
1466 BIO_printf(bio_err, in MAIN()
1469 BIO_printf(sbio,". STARTTLS\r\n"); in MAIN()
1485 BIO_printf(sbio,"AUTH TLS\r\n"); in MAIN()
1491 BIO_printf(sbio,"<stream:stream " in MAIN()
1503 BIO_printf(sbio, "<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>"); in MAIN()
1537 … BIO_printf(bio_c_out,"Server did %sacknowledge servername extension.\n",tlsextcbp.ack?"":"not "); in MAIN()
1550 BIO_printf(bio_err, "Error writing session file %s\n", sess_out); in MAIN()
1557 BIO_printf(bio_err,"%s",mbuf); in MAIN()
1565 BIO_printf(bio_c_out,"drop connection and then reconnect\n"); in MAIN()
1663 BIO_printf(bio_err,"bad select %d\n", in MAIN()
1672 BIO_printf(bio_err,"TIMEOUT occured\n"); in MAIN()
1698 BIO_printf(bio_c_out,"write W BLOCK\n"); in MAIN()
1703 BIO_printf(bio_c_out,"write R BLOCK\n"); in MAIN()
1709 BIO_printf(bio_c_out,"write X BLOCK\n"); in MAIN()
1714 BIO_printf(bio_c_out,"shutdown\n"); in MAIN()
1728 BIO_printf(bio_err,"write:errno=%d\n", in MAIN()
1757 BIO_printf(bio_c_out,"DONE\n"); in MAIN()
1798 BIO_printf(bio_c_out,"read W BLOCK\n"); in MAIN()
1803 BIO_printf(bio_c_out,"read R BLOCK\n"); in MAIN()
1810 BIO_printf(bio_c_out,"read X BLOCK\n"); in MAIN()
1814 BIO_printf(bio_err,"read:errno=%d\n",ret); in MAIN()
1817 BIO_printf(bio_c_out,"closed\n"); in MAIN()
1868 BIO_printf(bio_err,"DONE\n"); in MAIN()
1875 BIO_printf(bio_err,"RENEGOTIATING\n"); in MAIN()
1882 BIO_printf(bio_err,"HEARTBEATING\n"); in MAIN()
1965 BIO_printf(bio,"---\nCertificate chain\n"); in print_stuff()
1970 BIO_printf(bio,"%2d s:%s\n",i,buf); in print_stuff()
1973 BIO_printf(bio," i:%s\n",buf); in print_stuff()
1979 BIO_printf(bio,"---\n"); in print_stuff()
1983 BIO_printf(bio,"Server certificate\n"); in print_stuff()
1988 BIO_printf(bio,"subject=%s\n",buf); in print_stuff()
1991 BIO_printf(bio,"issuer=%s\n",buf); in print_stuff()
1994 BIO_printf(bio,"no peer certificate available\n"); in print_stuff()
1999 BIO_printf(bio,"---\nAcceptable client certificate CA names\n"); in print_stuff()
2010 BIO_printf(bio,"---\nNo client certificate CA names sent\n"); in print_stuff()
2020 BIO_printf(bio,"---\nCiphers common between both SSL endpoints:\n"); in print_stuff()
2041 BIO_printf(bio,"---\nSSL handshake has read %ld bytes and written %ld bytes\n", in print_stuff()
2045 BIO_printf(bio,(SSL_cache_hit(s)?"---\nReused, ":"---\nNew, ")); in print_stuff()
2047 BIO_printf(bio,"%s, Cipher is %s\n", in print_stuff()
2053 BIO_printf(bio,"Server public key is %d bit\n", in print_stuff()
2057 BIO_printf(bio, "Secure Renegotiation IS%s supported\n", in print_stuff()
2062 BIO_printf(bio,"Compression: %s\n", in print_stuff()
2064 BIO_printf(bio,"Expansion: %s\n", in print_stuff()
2076 BIO_printf(bio_c_out, "LOCAL PORT is %u\n", ntohs(ladd.sin_port)); in print_stuff()
2085 BIO_printf(bio, "Next protocol: (%d) ", next_proto.status); in print_stuff()
2096 BIO_printf(bio,"SRTP Extension negotiated, profile=%s\n", in print_stuff()
2104 BIO_printf(bio, "Keying material exporter:\n"); in print_stuff()
2105 BIO_printf(bio, " Label: '%s'\n", keymatexportlabel); in print_stuff()
2106 BIO_printf(bio, " Length: %i bytes\n", keymatexportlen); in print_stuff()
2116 BIO_printf(bio, " Error\n"); in print_stuff()
2120 BIO_printf(bio, " Keying material: "); in print_stuff()
2122 BIO_printf(bio, "%02X", in print_stuff()
2124 BIO_printf(bio, "\n"); in print_stuff()
2129 BIO_printf(bio,"---\n"); in print_stuff()