Lines Matching refs:BIO_printf
308 BIO_printf(bio_err,"usage: s_server [args ...]\n");
309 BIO_printf(bio_err,"\n");
310 BIO_printf(bio_err," -accept arg - port to accept on (default is %d)\n",PORT);
311 BIO_printf(bio_err," -context arg - set session ID context\n");
312 BIO_printf(bio_err," -verify arg - turn on peer certificate verification\n");
313 BIO_printf(bio_err," -Verify arg - turn on peer certificate verification, must have a cert.\n");
314 BIO_printf(bio_err," -cert arg - certificate file to use\n");
315 BIO_printf(bio_err," (default is %s)\n",TEST_CERT);
316 BIO_printf(bio_err," -certform arg - certificate format (PEM or DER) PEM default\n");
317 BIO_printf(bio_err," -key arg - Private Key file to use, in cert file if\n");
318 BIO_printf(bio_err," not specified (default is %s)\n",TEST_CERT);
319 BIO_printf(bio_err," -keyform arg - key format (PEM, DER or ENGINE) PEM default\n");
320 BIO_printf(bio_err," -pass arg - private key file pass phrase source\n");
321 BIO_printf(bio_err," -dcert arg - second certificate file to use (usually for DSA)\n");
322 BIO_printf(bio_err," -dcertform x - second certificate format (PEM or DER) PEM default\n");
323 BIO_printf(bio_err," -dkey arg - second private key file to use (usually for DSA)\n");
324 BIO_printf(bio_err," -dkeyform arg - second key format (PEM, DER or ENGINE) PEM default\n");
325 BIO_printf(bio_err," -dpass arg - second private key file pass phrase source\n");
326 BIO_printf(bio_err," -dhparam arg - DH parameter file to use, in cert file if not specified\n");
327 BIO_printf(bio_err," or a default set of parameters is used\n");
329 BIO_printf(bio_err," -named_curve arg - Elliptic curve name to use for ephemeral ECDH keys.\n" \
334 BIO_printf(bio_err," -nbio - Run with non-blocking IO\n");
336 BIO_printf(bio_err," -nbio_test - test with the non-blocking test bio\n");
337 BIO_printf(bio_err," -crlf - convert LF from terminal into CRLF\n");
338 BIO_printf(bio_err," -debug - Print more output\n");
339 BIO_printf(bio_err," -msg - Show protocol messages\n");
340 BIO_printf(bio_err," -state - Print the SSL states\n");
341 BIO_printf(bio_err," -CApath arg - PEM format directory of CA's\n");
342 BIO_printf(bio_err," -CAfile arg - PEM format file of CA's\n");
343 BIO_printf(bio_err," -nocert - Don't use any certificates (Anon-DH)\n");
344 BIO_printf(bio_err," -cipher arg - play with 'openssl ciphers' to see what goes here\n");
345 BIO_printf(bio_err," -serverpref - Use server's cipher preferences\n");
346 BIO_printf(bio_err," -quiet - No server output\n");
347 BIO_printf(bio_err," -no_tmp_rsa - Do not generate a tmp RSA key\n");
348 BIO_printf(bio_err," -ssl2 - Just talk SSLv2\n");
349 BIO_printf(bio_err," -ssl3 - Just talk SSLv3\n");
350 BIO_printf(bio_err," -tls1 - Just talk TLSv1\n");
351 BIO_printf(bio_err," -dtls1 - Just talk DTLSv1\n");
352 BIO_printf(bio_err," -timeout - Enable timeouts\n");
353 BIO_printf(bio_err," -mtu - Set MTU\n");
354 BIO_printf(bio_err," -chain - Read a certificate chain\n");
355 BIO_printf(bio_err," -no_ssl2 - Just disable SSLv2\n");
356 BIO_printf(bio_err," -no_ssl3 - Just disable SSLv3\n");
357 BIO_printf(bio_err," -no_tls1 - Just disable TLSv1\n");
359 BIO_printf(bio_err," -no_dhe - Disable ephemeral DH\n");
362 BIO_printf(bio_err," -no_ecdhe - Disable ephemeral ECDH\n");
364 BIO_printf(bio_err," -bugs - Turn on SSL bug compatibility\n");
365 BIO_printf(bio_err," -www - Respond to a 'GET /' with a status page\n");
366 BIO_printf(bio_err," -WWW - Respond to a 'GET /<path> HTTP/1.0' with file ./<path>\n");
367 BIO_printf(bio_err," -HTTP - Respond to a 'GET /<path> HTTP/1.0' with file ./<path>\n");
368 BIO_printf(bio_err," with the assumption it contains a complete HTTP response.\n");
370 BIO_printf(bio_err," -engine id - Initialise and use the specified engine\n");
372 BIO_printf(bio_err," -id_prefix arg - Generate SSL/TLS session IDs prefixed by 'arg'\n");
373 BIO_printf(bio_err," -rand file%cfile%c...\n", LIST_SEPARATOR_CHAR, LIST_SEPARATOR_CHAR);
608 BIO_printf(bio_err,"verify depth is %d\n",verify_depth);
616 BIO_printf(bio_err,"verify depth is %d, must return a certificate\n",verify_depth);
804 BIO_printf(bio_err,"unknown option %s\n",*argv);
827 BIO_printf(bio_err, "Error getting password\n");
884 BIO_printf(bio_err,"warning, not much extra random data, consider using the -rand option\n");
887 BIO_printf(bio_err,"%ld semi-random bytes loaded\n",
922 BIO_printf(bio_err,
925 BIO_printf(bio_err,
929 BIO_printf(bio_err,"error setting 'id_prefix'\n");
933 BIO_printf(bio_err,"id_prefix '%s' set.\n", session_id_prefix);
955 BIO_printf(bio_err,"You must specify a certificate file for the server to use\n");
963 /* BIO_printf(bio_err,"X509_load_verify_locations\n"); */
982 BIO_printf(bio_s_out,"Setting temp DH parameters\n");
986 BIO_printf(bio_s_out,"Using default temp DH parameters\n");
1007 BIO_printf(bio_err, "unknown curve name (%s)\n",
1014 BIO_printf(bio_err, "unable to create curve (%s)\n",
1022 BIO_printf(bio_s_out,"Setting temp ECDH parameters\n");
1026 BIO_printf(bio_s_out,"Using default temp ECDH parameters\n");
1030 BIO_printf(bio_err, "unable to create curve (sect163r2)\n");
1058 BIO_printf(bio_s_out,"Generating temp (512 bit) RSA key...");
1069 BIO_printf(bio_s_out,"\n");
1076 BIO_printf(bio_err,"error setting cipher list\n");
1087 BIO_printf(bio_s_out,"ACCEPT\n");
1119 BIO_printf(bio,"%4ld items in the session cache\n",
1121 BIO_printf(bio,"%4ld client connects (SSL_connect())\n",
1123 BIO_printf(bio,"%4ld client renegotiates (SSL_connect())\n",
1125 BIO_printf(bio,"%4ld client connects that finished\n",
1127 BIO_printf(bio,"%4ld server accepts (SSL_accept())\n",
1129 BIO_printf(bio,"%4ld server renegotiates (SSL_accept())\n",
1131 BIO_printf(bio,"%4ld server accepts that finished\n",
1133 BIO_printf(bio,"%4ld session cache hits\n",SSL_CTX_sess_hits(ssl_ctx));
1134 BIO_printf(bio,"%4ld session cache misses\n",SSL_CTX_sess_misses(ssl_ctx));
1135 BIO_printf(bio,"%4ld session cache timeouts\n",SSL_CTX_sess_timeouts(ssl_ctx));
1136 BIO_printf(bio,"%4ld callback cache hits\n",SSL_CTX_sess_cb_hits(ssl_ctx));
1137 BIO_printf(bio,"%4ld cache full overflows (%ld allowed)\n",
1157 BIO_printf(bio_err,"out of memory\n");
1166 BIO_printf(bio_err,"turning on non blocking io\n");
1318 BIO_printf(bio_s_out,"DONE\n");
1326 BIO_printf(bio_s_out,"DONE\n");
1383 BIO_printf(bio_s_out,"Write BLOCK\n");
1387 BIO_printf(bio_s_out,"ERROR\n");
1393 BIO_printf(bio_s_out,"DONE\n");
1436 BIO_printf(bio_s_out,"Read BLOCK\n");
1440 BIO_printf(bio_s_out,"ERROR\n");
1445 BIO_printf(bio_s_out,"DONE\n");
1453 BIO_printf(bio_s_out,"shutting down SSL\n");
1460 BIO_printf(bio_s_out,"CONNECTION CLOSED\n");
1467 BIO_printf(bio_s_out,"ACCEPT\n");
1473 BIO_printf(bio_err,"shutdown accept socket\n");
1492 BIO_printf(bio_s_out,"DELAY\n");
1496 BIO_printf(bio_err,"ERROR\n");
1500 BIO_printf(bio_err,"verify error:%s\n",
1513 BIO_printf(bio_s_out,"Client certificate\n");
1516 BIO_printf(bio_s_out,"subject=%s\n",buf);
1518 BIO_printf(bio_s_out,"issuer=%s\n",buf);
1523 BIO_printf(bio_s_out,"Shared ciphers:%s\n",buf);
1525 BIO_printf(bio_s_out,"CIPHER is %s\n",(str != NULL)?str:"(NONE)");
1526 if (con->hit) BIO_printf(bio_s_out,"Reused session-id\n");
1529 BIO_printf(bio_s_out,"Peer has incorrect TLSv1 block padding\n");
1533 BIO_printf(bio_s_out,"Kerberos peer principal is %s\n",
1599 BIO_printf(bio_err,"turning on non blocking io\n");
1687 BIO_printf(bio_s_out,"read R BLOCK\n");
1725 BIO_printf(io,"Ciphers supported in s_server binary\n");
1731 BIO_printf(io,"%-11s:%-25s",
1741 BIO_printf(io,"---\nCiphers common between both SSL end points:\n");
1761 BIO_printf(io,((con->hit)
1765 BIO_printf(io,"%s, Cipher is %s\n",
1769 BIO_printf(io,"---\n");
1771 BIO_printf(io,"---\n");
1775 BIO_printf(io,"Client certificate\n");
1820 BIO_printf(io,"'%s' is an invalid file name\r\n",p);
1828 BIO_printf(io,"'%s' contains '..' reference\r\n",p);
1835 BIO_printf(io,"'%s' is an invalid path\r\n",p);
1849 BIO_printf(io,"Error accessing '%s'\r\n",p);
1859 BIO_printf(io,"'%s' is a directory\r\n",p);
1867 BIO_printf(io,"Error opening '%s'\r\n",p);
1873 BIO_printf(bio_err,"FILE:%s\n",p);
1915 BIO_printf(bio_s_out,"rwrite W BLOCK\n");
1954 BIO_printf(bio_s_out,"ACCEPT\n");
1969 BIO_printf(bio_err,"Allocation error in generating RSA key\n");
1974 BIO_printf(bio_err,"Generating temp (%d bit) RSA key...",keylength);
1985 BIO_printf(bio_err,"\n");