Lines Matching refs:bio_err
185 BIO_printf(bio_err,"usage: s_client args\n");
186 BIO_printf(bio_err,"\n");
187 BIO_printf(bio_err," -host host - use -connect instead\n");
188 BIO_printf(bio_err," -port port - use -connect instead\n");
189 BIO_printf(bio_err," -connect host:port - who to connect to (default is %s:%s)\n",SSL_HOST_NAME,PORT_STR);
191 BIO_printf(bio_err," -verify depth - turn on peer certificate verification\n");
192 BIO_printf(bio_err," -cert arg - certificate file to use, PEM format assumed\n");
193 BIO_printf(bio_err," -certform arg - certificate format (PEM or DER) PEM default\n");
194 BIO_printf(bio_err," -key arg - Private key file to use, in cert file if\n");
195 BIO_printf(bio_err," not specified but cert file is.\n");
196 BIO_printf(bio_err," -keyform arg - key format (PEM or DER) PEM default\n");
197 BIO_printf(bio_err," -pass arg - private key file pass phrase source\n");
198 BIO_printf(bio_err," -CApath arg - PEM format directory of CA's\n");
199 BIO_printf(bio_err," -CAfile arg - PEM format file of CA's\n");
200 BIO_printf(bio_err," -reconnect - Drop and re-make the connection with the same Session-ID\n");
201 BIO_printf(bio_err," -pause - sleep(1) after each read(2) and write(2) system call\n");
202 BIO_printf(bio_err," -showcerts - show all certificates in the chain\n");
203 BIO_printf(bio_err," -debug - extra output\n");
205 BIO_printf(bio_err," -wdebug - WATT-32 tcp debugging\n");
207 BIO_printf(bio_err," -msg - Show protocol messages\n");
208 BIO_printf(bio_err," -nbio_test - more ssl protocol testing\n");
209 BIO_printf(bio_err," -state - print the 'ssl' states\n");
211 BIO_printf(bio_err," -nbio - Run with non-blocking IO\n");
213 BIO_printf(bio_err," -crlf - convert LF from terminal into CRLF\n");
214 BIO_printf(bio_err," -quiet - no s_client output\n");
215 BIO_printf(bio_err," -ign_eof - ignore input eof (default when -quiet)\n");
216 BIO_printf(bio_err," -ssl2 - just use SSLv2\n");
217 BIO_printf(bio_err," -ssl3 - just use SSLv3\n");
218 BIO_printf(bio_err," -tls1 - just use TLSv1\n");
219 BIO_printf(bio_err," -dtls1 - just use DTLSv1\n");
220 BIO_printf(bio_err," -mtu - set the MTU\n");
221 BIO_printf(bio_err," -no_tls1/-no_ssl3/-no_ssl2 - turn off that protocol\n");
222 BIO_printf(bio_err," -bugs - Switch on all SSL implementation bug workarounds\n");
223 BIO_printf(bio_err," -serverpref - Use server's cipher preferences (only SSLv2)\n");
224 BIO_printf(bio_err," -cipher - preferred cipher to use, use the 'openssl ciphers'\n");
225 BIO_printf(bio_err," command to see what is available\n");
226 BIO_printf(bio_err," -starttls prot - use the STARTTLS command before starting TLS\n");
227 BIO_printf(bio_err," for those protocols that support it, where\n");
228 BIO_printf(bio_err," 'prot' defines which one to assume. Currently,\n");
229 BIO_printf(bio_err," only \"smtp\", \"pop3\", \"imap\", and \"ftp\" are supported.\n");
231 BIO_printf(bio_err," -engine id - Initialise and use the specified engine\n");
233 BIO_printf(bio_err," -rand file%cfile%c...\n", LIST_SEPARATOR_CHAR, LIST_SEPARATOR_CHAR);
311 if (bio_err == NULL)
312 bio_err=BIO_new_fp(stderr,BIO_NOCLOSE);
314 if (!load_config(bio_err, NULL))
321 BIO_printf(bio_err,"out of memory\n");
357 BIO_printf(bio_err,"verify depth is %d\n",verify_depth);
503 BIO_printf(bio_err,"unknown option %s\n",*argv);
521 e = setup_engine(bio_err, engine_id, 1);
523 if (!app_passwd(bio_err, passarg, NULL, &pass, NULL))
525 BIO_printf(bio_err, "Error getting password\n");
537 key = load_key(bio_err, key_file, key_format, 0, pass, e,
541 ERR_print_errors(bio_err);
550 cert = load_cert(bio_err,cert_file,cert_format,
555 ERR_print_errors(bio_err);
560 if (!app_RAND_load_file(NULL, bio_err, 1) && inrand == NULL
563 BIO_printf(bio_err,"warning, not much extra random data, consider using the -rand option\n");
566 BIO_printf(bio_err,"%ld semi-random bytes loaded\n",
585 ERR_print_errors(bio_err);
601 BIO_printf(bio_err,"error setting cipher list\n");
602 ERR_print_errors(bio_err);
617 /* BIO_printf(bio_err,"error setting default verify locations\n"); */
618 ERR_print_errors(bio_err);
638 BIO_printf(bio_err,"connect:errno=%d\n",get_last_socket_error());
651 ERR_print_errors(bio_err);
665 BIO_printf(bio_err, "getsockname:errno=%d\n",
768 BIO_printf(bio_err,
801 BIO_printf(bio_err,
845 BIO_printf(bio_err,"%s",mbuf);
932 BIO_printf(bio_err,"bad select %d\n",
991 BIO_printf(bio_err,"write:errno=%d\n",
1002 ERR_print_errors(bio_err);
1075 BIO_printf(bio_err,"read:errno=%d\n",get_last_socket_error());
1081 ERR_print_errors(bio_err);
1126 BIO_printf(bio_err,"DONE\n");
1132 BIO_printf(bio_err,"RENEGOTIATING\n");