Home | History | Annotate | Download | only in apps

Lines Matching full:bio_err

254                 BIO_printf(bio_err,"Could not convert PSK key '%s' to BIGNUM\n", psk_key);
262 BIO_printf(bio_err,"psk buffer of callback is too small (%d) for key (%d)\n",
279 BIO_printf(bio_err, "Error in PSK client callback\n");
286 BIO_printf(bio_err,"usage: s_client args\n");
287 BIO_printf(bio_err,"\n");
288 BIO_printf(bio_err," -host host - use -connect instead\n");
289 BIO_printf(bio_err," -port port - use -connect instead\n");
290 BIO_printf(bio_err," -connect host:port - who to connect to (default is %s:%s)\n",SSL_HOST_NAME,PORT_STR);
292 BIO_printf(bio_err," -verify arg - turn on peer certificate verification\n");
293 BIO_printf(bio_err," -cert arg - certificate file to use, PEM format assumed\n");
294 BIO_printf(bio_err," -certform arg - certificate format (PEM or DER) PEM default\n");
295 BIO_printf(bio_err," -key arg - Private key file to use, in cert file if\n");
296 BIO_printf(bio_err," not specified but cert file is.\n");
297 BIO_printf(bio_err," -keyform arg - key format (PEM or DER) PEM default\n");
298 BIO_printf(bio_err," -pass arg - private key file pass phrase source\n");
299 BIO_printf(bio_err," -CApath arg - PEM format directory of CA's\n");
300 BIO_printf(bio_err," -CAfile arg - PEM format file of CA's\n");
301 BIO_printf(bio_err," -reconnect - Drop and re-make the connection with the same Session-ID\n");
302 BIO_printf(bio_err," -pause - sleep(1) after each read(2) and write(2) system call\n");
303 BIO_printf(bio_err," -showcerts - show all certificates in the chain\n");
304 BIO_printf(bio_err," -debug - extra output\n");
306 BIO_printf(bio_err," -wdebug - WATT-32 tcp debugging\n");
308 BIO_printf(bio_err," -msg - Show protocol messages\n");
309 BIO_printf(bio_err," -nbio_test - more ssl protocol testing\n");
310 BIO_printf(bio_err," -state - print the 'ssl' states\n");
312 BIO_printf(bio_err," -nbio - Run with non-blocking IO\n");
314 BIO_printf(bio_err," -crlf - convert LF from terminal into CRLF\n");
315 BIO_printf(bio_err," -quiet - no s_client output\n");
316 BIO_printf(bio_err," -ign_eof - ignore input eof (default when -quiet)\n");
317 BIO_printf(bio_err," -no_ign_eof - don't ignore input eof\n");
319 BIO_printf(bio_err," -psk_identity arg - PSK identity\n");
320 BIO_printf(bio_err," -psk arg - PSK in hex (without 0x)\n");
322 BIO_printf(bio_err," -jpake arg - JPAKE secret to use\n");
326 BIO_printf(bio_err," -srpuser user - SRP authentification for 'user'\n");
327 BIO_printf(bio_err," -srppass arg - password for 'user'\n");
328 BIO_printf(bio_err," -srp_lateuser - SRP username into second ClientHello message\n");
329 BIO_printf(bio_err," -srp_moregroups - Tolerate other than the known g N values.\n");
330 BIO_printf(bio_err," -srp_strength int - minimal mength in bits for N (default %d).\n",SRP_MINIMAL_N);
332 BIO_printf(bio_err," -ssl2 - just use SSLv2\n");
333 BIO_printf(bio_err," -ssl3 - just use SSLv3\n");
334 BIO_printf(bio_err," -tls1_2 - just use TLSv1.2\n");
335 BIO_printf(bio_err," -tls1_1 - just use TLSv1.1\n");
336 BIO_printf(bio_err," -tls1 - just use TLSv1\n");
337 BIO_printf(bio_err," -dtls1 - just use DTLSv1\n");
338 BIO_printf(bio_err," -mtu - set the link layer MTU\n");
339 BIO_printf(bio_err," -no_tls1_2/-no_tls1_1/-no_tls1/-no_ssl3/-no_ssl2 - turn off that protocol\n");
340 BIO_printf(bio_err," -bugs - Switch on all SSL implementation bug workarounds\n");
341 BIO_printf(bio_err," -serverpref - Use server's cipher preferences (only SSLv2)\n");
342 BIO_printf(bio_err," -cipher - preferred cipher to use, use the 'openssl ciphers'\n");
343 BIO_printf(bio_err," command to see what is available\n");
344 BIO_printf(bio_err," -starttls prot - use the STARTTLS command before starting TLS\n");
345 BIO_printf(bio_err," for those protocols that support it, where\n");
346 BIO_printf(bio_err," 'prot' defines which one to assume. Currently,\n");
347 BIO_printf(bio_err," only \"smtp\", \"pop3\", \"imap\", \"ftp\" and \"xmpp\"\n");
348 BIO_printf(bio_err," are supported.\n");
350 BIO_printf(bio_err," -engine id - Initialise and use the specified engine\n");
352 BIO_printf(bio_err," -rand file%cfile%c...\n", LIST_SEPARATOR_CHAR, LIST_SEPARATOR_CHAR);
353 BIO_printf(bio_err," -sess_out arg - file to write SSL session to\n");
354 BIO_printf(bio_err," -sess_in arg - file to read SSL session from\n");
356 BIO_printf(bio_err," -servername host - Set TLS extension servername in ClientHello\n");
357 BIO_printf(bio_err," -tlsextdebug - hex dump of all TLS extensions received\n");
358 BIO_printf(bio_err," -status - request certificate status from server\n");
359 BIO_printf(bio_err," -no_ticket - disable use of RFC4507bis session tickets\n");
361 BIO_printf(bio_err," -nextprotoneg arg - enable NPN extension, considering named protocols supported (comma-separated list)\n");
364 BIO_printf(bio_err," -cutthrough - enable 1-RTT full-handshake for strong ciphers\n");
365 BIO_printf(bio_err," -legacy_renegotiation - enable use of legacy renegotiation (dangerous)\n");
367 BIO_printf(bio_err," -use_srtp profiles - Offer SRTP key management with a colon-separated profile list\n");
369 BIO_printf(bio_err," -keymatexport label - Export keying material using label\n");
370 BIO_printf(bio_err
389 BIO_printf(bio_err,"Can't use SSL_get_servername\n");
460 BIO_printf(bio_err, "SRP parameters:\n");
461 BIO_printf(bio_err,"\tN="); BN_print(bio_err,N);
462 BIO_printf(bio_err,"\n\tg="); BN_print(bio_err,g);
463 BIO_printf(bio_err,"\n");
472 BIO_printf(bio_err, "SRP param N and g are not known params, going to check deeper.\n");
481 BIO_printf(bio_err, "SRP param N and g rejected.\n");
498 BIO_printf (bio_err, "Can't read Password\n");
641 if (bio_err == NULL)
642 bio_err=BIO_new_fp(stderr,BIO_NOCLOSE);
644 if (!load_config(bio_err, NULL))
651 BIO_printf(bio_err,"out of memory\n");
687 BIO_printf(bio_err,"verify depth is %d\n",verify_depth);
709 else if (args_verify(&argv, &argc, &badarg, bio_err, &vpm))
768 BIO_printf(bio_err,"Not a hex number '%s'\n",*argv);
790 BIO_printf(bio_err,"SRP minimal length for N is %d\n",srp_arg.strength);
976 BIO_printf(bio_err,"unknown option %s\n",*argv);
995 BIO_printf(bio_err,
1002 BIO_printf(bio_err, "JPAKE sets cipher to PSK\n");
1019 BIO_printf(bio_err, "Error parsing -nextprotoneg argument\n");
1028 e = setup_engine(bio_err, engine_id, 1);
1034 BIO_printf(bio_err,
1041 if (!app_passwd(bio_err, passarg, NULL, &pass, NULL))
1043 BIO_printf(bio_err, "Error getting password\n");
1055 key = load_key(bio_err, key_file, key_format, 0, pass, e,
1059 ERR_print_errors(bio_err);
1068 cert = load_cert(bio_err,cert_file,cert_format,
1073 ERR_print_errors(bio_err);
1078 if (!app_RAND_load_file(NULL, bio_err, 1) && inrand == NULL
1081 BIO_printf(bio_err,"warning, not much extra random data, consider using the -rand option\n");
1084 BIO_printf(bio_err,"%ld semi-random bytes loaded\n",
1101 if(!app_passwd(bio_err, srppass, NULL, &srp_arg.srppassin, NULL))
1103 BIO_printf(bio_err, "Error getting password\n");
1111 ERR_print_errors(bio_err);
1123 BIO_puts(bio_err, "Error setting client auth engine\n");
1124 ERR_print_errors(bio_err);
1177 BIO_printf(bio_err,"error setting cipher list\n");
1178 ERR_print_errors(bio_err);
1193 /* BIO_printf(bio_err,"error setting default verify locations\n"); */
1194 ERR_print_errors(bio_err);
1201 tlsextcbp.biodebug = bio_err;
1210 BIO_printf(bio_err,"Unable to set SRP username\n");
1232 BIO_printf(bio_err, "Can't open session file %s\n",
1234 ERR_print_errors(bio_err);
1241 BIO_printf(bio_err, "Can't open session file %s\n",
1243 ERR_print_errors(bio_err);
1254 BIO_printf(bio_err,"Unable to set TLS servername extension.\n");
1255 ERR_print_errors(bio_err);
1278 BIO_printf(bio_err,"connect:errno=%d\n",get_last_socket_error());
1291 ERR_print_errors(bio_err);
1304 BIO_printf(bio_err, "getsockname:errno=%d\n",
1433 BIO_printf(bio_err,
1466 BIO_printf(bio_err,
1550 BIO_printf(bio_err, "Error writing session file %s\n", sess_out);
1557 BIO_printf(bio_err,"%s",mbuf);
1663 BIO_printf(bio_err,"bad select %d\n",
1672 BIO_printf(bio_err,"TIMEOUT occured\n");
1728 BIO_printf(bio_err,"write:errno=%d\n",
1739 ERR_print_errors(bio_err);
1814 BIO_printf(bio_err,"read:errno=%d\n",ret);
1821 ERR_print_errors(bio_err);
1868 BIO_printf(bio_err,"DONE\n");
1875 BIO_printf(bio_err,"RENEGOTIATING\n");
1882 BIO_printf(bio_err,"HEARTBEATING\n");