Home | History | Annotate | Download | only in apps

Lines Matching full:bio_printf

229 		BIO_printf(bio_c_out, "psk_client_cb\n");
234 BIO_printf(bio_c_out,"NULL received PSK identity hint, continuing anyway\n");
237 BIO_printf(bio_c_out, "Received PSK identity hint '%s'\n", hint);
244 BIO_printf(bio_c_out, "created identity '%s' len=%d\n", identity, ret);
248 BIO_printf(bio_err,"Could not convert PSK key '%s' to BIGNUM\n", psk_key);
256 BIO_printf(bio_err,"psk buffer of callback is too small (%d) for key (%d)\n",
268 BIO_printf(bio_c_out, "created PSK len=%d\n", psk_len);
273 BIO_printf(bio_err, "Error in PSK client callback\n");
280 BIO_printf(bio_err,"usage: s_client args\n");
281 BIO_printf(bio_err,"\n");
282 BIO_printf(bio_err," -host host - use -connect instead\n");
283 BIO_printf(bio_err," -port port - use -connect instead\n");
284 BIO_printf(bio_err," -connect host:port - who to connect to (default is %s:%s)\n",SSL_HOST_NAME,PORT_STR);
286 BIO_printf(bio_err," -verify arg - turn on peer certificate verification\n");
287 BIO_printf(bio_err," -cert arg - certificate file to use, PEM format assumed\n");
288 BIO_printf(bio_err," -certform arg - certificate format (PEM or DER) PEM default\n");
289 BIO_printf(bio_err," -key arg - Private key file to use, in cert file if\n");
290 BIO_printf(bio_err," not specified but cert file is.\n");
291 BIO_printf(bio_err," -keyform arg - key format (PEM or DER) PEM default\n");
292 BIO_printf(bio_err," -pass arg - private key file pass phrase source\n");
293 BIO_printf(bio_err," -CApath arg - PEM format directory of CA's\n");
294 BIO_printf(bio_err," -CAfile arg - PEM format file of CA's\n");
295 BIO_printf(bio_err," -reconnect - Drop and re-make the connection with the same Session-ID\n");
296 BIO_printf(bio_err," -pause - sleep(1) after each read(2) and write(2) system call\n");
297 BIO_printf(bio_err," -showcerts - show all certificates in the chain\n");
298 BIO_printf(bio_err," -debug - extra output\n");
300 BIO_printf(bio_err," -wdebug - WATT-32 tcp debugging\n");
302 BIO_printf(bio_err," -msg - Show protocol messages\n");
303 BIO_printf(bio_err," -nbio_test - more ssl protocol testing\n");
304 BIO_printf(bio_err," -state - print the 'ssl' states\n");
306 BIO_printf(bio_err," -nbio - Run with non-blocking IO\n");
308 BIO_printf(bio_err," -crlf - convert LF from terminal into CRLF\n");
309 BIO_printf(bio_err," -quiet - no s_client output\n");
310 BIO_printf(bio_err," -ign_eof - ignore input eof (default when -quiet)\n");
311 BIO_printf(bio_err," -no_ign_eof - don't ignore input eof\n");
313 BIO_printf(bio_err," -psk_identity arg - PSK identity\n");
314 BIO_printf(bio_err," -psk arg - PSK in hex (without 0x)\n");
316 BIO_printf(bio_err," -jpake arg - JPAKE secret to use\n");
319 BIO_printf(bio_err," -ssl2 - just use SSLv2\n");
320 BIO_printf(bio_err," -ssl3 - just use SSLv3\n");
321 BIO_printf(bio_err," -tls1 - just use TLSv1\n");
322 BIO_printf(bio_err," -dtls1 - just use DTLSv1\n");
323 BIO_printf(bio_err," -mtu - set the link layer MTU\n");
324 BIO_printf(bio_err," -no_tls1/-no_ssl3/-no_ssl2 - turn off that protocol\n");
325 BIO_printf(bio_err," -bugs - Switch on all SSL implementation bug workarounds\n");
326 BIO_printf(bio_err," -serverpref - Use server's cipher preferences (only SSLv2)\n");
327 BIO_printf(bio_err," -cipher - preferred cipher to use, use the 'openssl ciphers'\n");
328 BIO_printf(bio_err," command to see what is available\n");
329 BIO_printf(bio_err," -starttls prot - use the STARTTLS command before starting TLS\n");
330 BIO_printf(bio_err," for those protocols that support it, where\n");
331 BIO_printf(bio_err," 'prot' defines which one to assume. Currently,\n");
332 BIO_printf(bio_err," only \"smtp\", \"pop3\", \"imap\", \"ftp\" and \"xmpp\"\n");
333 BIO_printf(bio_err," are supported.\n");
335 BIO_printf(bio_err," -engine id - Initialise and use the specified engine\n");
337 BIO_printf(bio_err," -rand file%cfile%c...\n", LIST_SEPARATOR_CHAR, LIST_SEPARATOR_CHAR);
338 BIO_printf(bio_err," -sess_out arg - file to write SSL session to\n");
339 BIO_printf(bio_err," -sess_in arg - file to read SSL session from\n");
341 BIO_printf(bio_err," -servername host - Set TLS extension servername in ClientHello\n");
342 BIO_printf(bio_err," -tlsextdebug - hex dump of all TLS extensions received\n");
343 BIO_printf(bio_err," -status - request certificate status from server\n");
344 BIO_printf(bio_err," -no_ticket - disable use of RFC4507bis session tickets\n");
345 BIO_printf(bio_err," -cutthrough - enable 1-RTT full-handshake for strong ciphers\n");
347 BIO_printf(bio_err," -legacy_renegotiation - enable use of legacy renegotiation (dangerous)\n");
366 BIO_printf(bio_err,"Can't use SSL_get_servername\n");
471 BIO_printf(bio_err,"out of memory\n");
507 BIO_printf(bio_err,"verify depth is %d\n",verify_depth);
588 BIO_printf(bio_err,"Not a hex number '%s'\n",*argv);
732 BIO_printf(bio_err,"unknown option %s\n",*argv);
751 BIO_printf(bio_err,
760 BIO_printf(bio_err, "JPAKE sets cipher to PSK\n");
776 BIO_printf(bio_err,
785 BIO_printf(bio_err, "Error getting password\n");
823 BIO_printf(bio_err,"warning, not much extra random data, consider using the -rand option\n");
826 BIO_printf(bio_err,"%ld semi-random bytes loaded\n",
874 BIO_printf(bio_c_out, "PSK key given or JPAKE in use, setting client callback\n");
902 BIO_printf(bio_err,"error setting cipher list\n");
918 /* BIO_printf(bio_err,"error setting default verify locations\n"); */
939 BIO_printf(bio_err, "Can't open session file %s\n",
948 BIO_printf(bio_err, "Can't open session file %s\n",
961 BIO_printf(bio_err,"Unable to set TLS servername extension.\n");
984 BIO_printf(bio_err,"connect:errno=%d\n",get_last_socket_error());
988 BIO_printf(bio_c_out,"CONNECTED(%08X)\n",s);
994 BIO_printf(bio_c_out,"turning on non blocking io\n");
1010 BIO_printf(bio_err, "getsockname:errno=%d\n",
1125 BIO_printf(fbio,"EHLO openssl.client.net\r\n");
1139 BIO_printf(bio_err,
1142 BIO_printf(sbio,"STARTTLS\r\n");
1148 BIO_printf(sbio,"STLS\r\n");
1158 BIO_printf(fbio,". CAPABILITY\r\n");
1172 BIO_printf(bio_err,
1175 BIO_printf(sbio,". STARTTLS\r\n");
1191 BIO_printf(sbio,"AUTH TLS\r\n");
1197 BIO_printf(sbio,"<stream:stream "
1209 BIO_printf(sbio, "<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>");
1243 BIO_printf(bio_c_out,"Server did %sacknowledge servername extension.\n",tlsextcbp.ack?"":"not ");
1256 BIO_printf(bio_err, "Error writing session file %s\n", sess_out);
1263 BIO_printf(bio_err,"%s",mbuf);
1271 BIO_printf(bio_c_out,"drop connection and then reconnect\n");
1369 BIO_printf(bio_err,"bad select %d\n",
1378 BIO_printf(bio_err,"TIMEOUT occured\n");
1404 BIO_printf(bio_c_out,"write W BLOCK\n");
1409 BIO_printf(bio_c_out,"write R BLOCK\n");
1415 BIO_printf(bio_c_out,"write X BLOCK\n");
1420 BIO_printf(bio_c_out,"shutdown\n");
1434 BIO_printf(bio_err,"write:errno=%d\n",
1463 BIO_printf(bio_c_out,"DONE\n");
1504 BIO_printf(bio_c_out,"read W BLOCK\n");
1509 BIO_printf(bio_c_out,"read R BLOCK\n");
1516 BIO_printf(bio_c_out,"read X BLOCK\n");
1520 BIO_printf(bio_err,"read:errno=%d\n",ret);
1523 BIO_printf(bio_c_out,"closed\n");
1574 BIO_printf(bio_err,"DONE\n");
1581 BIO_printf(bio_err,"RENEGOTIATING\n");
1656 BIO_printf(bio,"---\nCertificate chain\n");
1661 BIO_printf(bio,"%2d s:%s\n",i,buf);
1664 BIO_printf(bio," i:%s\n",buf);
1670 BIO_printf(bio,"---\n");
1674 BIO_printf(bio,"Server certificate\n");
1679 BIO_printf(bio,"subject=%s\n",buf);
1682 BIO_printf(bio,"issuer=%s\n",buf);
1685 BIO_printf(bio,"no peer certificate available\n");
1690 BIO_printf(bio,"---\nAcceptable client certificate CA names\n");
1701 BIO_printf(bio,"---\nNo client certificate CA names sent\n");
1711 BIO_printf(bio,"---\nCiphers common between both SSL endpoints:\n");
1732 BIO_printf(bio,"---\nSSL handshake has read %ld bytes and written %ld bytes\n",
1736 BIO_printf(bio,((s->hit)?"---\nReused, ":"---\nNew, "));
1738 BIO_printf(bio,"%s, Cipher is %s\n",
1744 BIO_printf(bio,"Server public key is %d bit\n",
1748 BIO_printf(bio, "Secure Renegotiation IS%s supported\n",
1753 BIO_printf(bio,"Compression: %s\n",
1755 BIO_printf(bio,"Expansion: %s\n",
1759 BIO_printf(bio,"---\n");