Searched refs:bio_err (Results 26 - 50 of 62) sorted by relevance

123

/freebsd-10-stable/crypto/openssl/apps/
H A Dpkcs7.c99 if (bio_err == NULL)
100 if ((bio_err = BIO_new(BIO_s_file())) != NULL)
101 BIO_set_fp(bio_err, stderr, BIO_NOCLOSE | BIO_FP_TEXT);
103 if (!load_config(bio_err, NULL))
147 BIO_printf(bio_err, "unknown option %s\n", *argv);
157 BIO_printf(bio_err, "%s [options] <infile >outfile\n", prog);
158 BIO_printf(bio_err, "where options are\n");
159 BIO_printf(bio_err, " -inform arg input format - DER or PEM\n");
160 BIO_printf(bio_err, " -outform arg output format - DER or PEM\n");
161 BIO_printf(bio_err, "
[all...]
H A Dreq.c209 if (bio_err == NULL)
210 if ((bio_err = BIO_new(BIO_s_file())) != NULL)
211 BIO_set_fp(bio_err, stderr, BIO_NOCLOSE | BIO_FP_TEXT);
241 BIO_printf(bio_err, "Can't find keygen engine %s\n", *argv);
371 BIO_printf(bio_err, "unknown option %s\n", *argv);
381 BIO_printf(bio_err, "%s [options] <infile >outfile\n", prog);
382 BIO_printf(bio_err, "where options are\n");
383 BIO_printf(bio_err, " -inform arg input format - DER or PEM\n");
384 BIO_printf(bio_err, " -outform arg output format - DER or PEM\n");
385 BIO_printf(bio_err, "
[all...]
H A Denc.c137 if (bio_err == NULL)
138 if ((bio_err = BIO_new(BIO_s_file())) != NULL)
139 BIO_set_fp(bio_err, stderr, BIO_NOCLOSE | BIO_FP_TEXT);
141 if (!load_config(bio_err, NULL))
161 BIO_printf(bio_err, "%s is an unknown cipher\n", pname);
234 BIO_printf(bio_err, "unable to read key from '%s'\n", file);
239 BIO_printf(bio_err, "unable to read key from '%s'\n", file);
249 BIO_printf(bio_err, "zero length password\n");
277 BIO_printf(bio_err, "unknown option '%s'\n", *argv);
279 BIO_printf(bio_err, "option
[all...]
H A Dsrp.c151 BIO_printf(bio_err, " %d = \"%s\"\n", j, pp[j]);
182 BIO_printf(bio_err, "Memory allocation failure\n");
203 BIO_printf(bio_err, "variable lookup failed for %s::%s\n", name, tag);
313 if (bio_err == NULL)
314 if ((bio_err = BIO_new(BIO_s_file())) != NULL)
315 BIO_set_fp(bio_err, stderr, BIO_NOCLOSE | BIO_FP_TEXT);
369 BIO_printf(bio_err, "unknown option %s\n", *argv);
380 BIO_printf(bio_err,
385 BIO_printf(bio_err,
390 BIO_printf(bio_err,
[all...]
H A Dcrl2p7.c105 if (bio_err == NULL)
106 if ((bio_err = BIO_new(BIO_s_file())) != NULL)
107 BIO_set_fp(bio_err, stderr, BIO_NOCLOSE | BIO_FP_TEXT);
148 BIO_printf(bio_err, "unknown option %s\n", *argv);
158 BIO_printf(bio_err, "%s [options] <infile >outfile\n", prog);
159 BIO_printf(bio_err, "where options are\n");
160 BIO_printf(bio_err, " -inform arg input format - DER or PEM\n");
161 BIO_printf(bio_err, " -outform arg output format - DER or PEM\n");
162 BIO_printf(bio_err, " -in arg input file\n");
163 BIO_printf(bio_err, "
[all...]
H A Dpkcs12.c139 if (bio_err == NULL)
140 bio_err = BIO_new_fp(stderr, BIO_NOCLOSE);
142 if (!load_config(bio_err, NULL))
227 if (!set_pbe(bio_err, &cert_pbe, *++args))
230 if (!set_pbe(bio_err, &key_pbe, *++args))
332 BIO_printf(bio_err, "Usage: pkcs12 [options]\n");
333 BIO_printf(bio_err, "where options are\n");
334 BIO_printf(bio_err, "-export output PKCS12 file\n");
335 BIO_printf(bio_err, "-chain add certificate chain\n");
336 BIO_printf(bio_err, "
[all...]
H A Dverify.c104 if (bio_err == NULL)
105 if ((bio_err = BIO_new(BIO_s_file())) != NULL)
106 BIO_set_fp(bio_err, stderr, BIO_NOCLOSE | BIO_FP_TEXT);
108 if (!load_config(bio_err, NULL))
123 } else if (args_verify(&argv, &argc, &badarg, bio_err, &vpm)) {
162 e = setup_engine(bio_err, engine, 0);
174 BIO_printf(bio_err, "Error loading file %s\n", CAfile);
175 ERR_print_errors(bio_err);
187 BIO_printf(bio_err, "Error loading directory %s\n", CApath);
188 ERR_print_errors(bio_err);
[all...]
H A Ds_client.c267 BIO_printf(bio_err, "Could not convert PSK key '%s' to BIGNUM\n",
275 BIO_printf(bio_err,
293 BIO_printf(bio_err, "Error in PSK client callback\n");
300 BIO_printf(bio_err, "usage: s_client args\n");
301 BIO_printf(bio_err, "\n");
302 BIO_printf(bio_err, " -host host - use -connect instead\n");
303 BIO_printf(bio_err, " -port port - use -connect instead\n");
304 BIO_printf(bio_err,
308 BIO_printf(bio_err,
310 BIO_printf(bio_err,
[all...]
H A Dca.c342 if (bio_err == NULL)
343 if ((bio_err = BIO_new(BIO_s_file())) != NULL)
344 BIO_set_fp(bio_err, stderr, BIO_NOCLOSE | BIO_FP_TEXT);
524 BIO_printf(bio_err, "unknown option %s\n", *argv);
536 BIO_printf(bio_err, "%s", *pp2);
556 BIO_printf(bio_err, "Out of memory\n");
564 BIO_printf(bio_err, "Out of memory\n");
574 BIO_printf(bio_err, "Using configuration from %s\n", configfile);
578 BIO_printf(bio_err, "error loading the config file '%s'\n",
581 BIO_printf(bio_err, "erro
[all...]
H A Ds_cb.c143 BIO_printf(bio_err, "depth=%d ", depth);
145 X509_NAME_print_ex(bio_err, X509_get_subject_name(err_cert),
147 BIO_puts(bio_err, "\n");
149 BIO_puts(bio_err, "<no cert>\n");
151 BIO_printf(bio_err, "verify error:num=%d:%s\n", err,
164 BIO_puts(bio_err, "issuer= ");
165 X509_NAME_print_ex(bio_err, X509_get_issuer_name(err_cert),
167 BIO_puts(bio_err, "\n");
171 BIO_printf(bio_err, "notBefore=");
172 ASN1_TIME_print(bio_err, X509_get_notBefor
[all...]
H A Ds_server.c350 BIO_printf(bio_err, "Error: client did not send PSK identity\n");
369 BIO_printf(bio_err, "Could not convert PSK key '%s' to BIGNUM\n",
376 BIO_printf(bio_err,
395 BIO_printf(bio_err, "Error in PSK server callback\n");
423 BIO_printf(bio_err, "SRP username = \"%s\"\n", p->login);
428 BIO_printf(bio_err, "User %s doesn't exist\n", p->login);
438 BIO_printf(bio_err,
487 BIO_printf(bio_err, "usage: s_server [args ...]\n");
488 BIO_printf(bio_err, "\n");
489 BIO_printf(bio_err,
[all...]
H A Dx509.c219 if (bio_err == NULL)
220 bio_err = BIO_new_fp(stderr, BIO_NOCLOSE);
222 if (!load_config(bio_err, NULL))
282 BIO_printf(bio_err, "bad number of days\n");
334 BIO_printf(bio_err, "Invalid trust object value %s\n", *argv);
345 BIO_printf(bio_err,
444 BIO_printf(bio_err, "use -clrext instead of -crlext\n");
454 BIO_printf(bio_err, "unknown option %s\n", *argv);
465 BIO_printf(bio_err, "%s", *pp);
469 e = setup_engine(bio_err, engin
[all...]
H A Dsess_id.c103 if (bio_err == NULL)
104 if ((bio_err = BIO_new(BIO_s_file())) != NULL)
105 BIO_set_fp(bio_err, stderr, BIO_NOCLOSE | BIO_FP_TEXT);
141 BIO_printf(bio_err, "unknown option %s\n", *argv);
152 BIO_printf(bio_err, "%s", *pp);
166 BIO_printf(bio_err, "Context too long\n");
195 ERR_print_errors(bio_err);
232 BIO_printf(bio_err, "bad output format specified for outfile\n");
236 BIO_printf(bio_err, "unable to write SSL_SESSION\n");
245 BIO_printf(bio_err, "ba
[all...]
H A Dcrl.c130 if (bio_err == NULL)
131 if ((bio_err = BIO_new(BIO_s_file())) != NULL)
132 BIO_set_fp(bio_err, stderr, BIO_NOCLOSE | BIO_FP_TEXT);
134 if (!load_config(bio_err, NULL))
221 BIO_printf(bio_err, "unknown option %s\n", *argv);
232 BIO_printf(bio_err, "%s", *pp);
258 BIO_printf(bio_err, "Error initialising X509 store\n");
265 BIO_printf(bio_err, "Error getting CRL issuer certificate\n");
271 BIO_printf(bio_err, "Error getting CRL issuer public key\n");
279 BIO_printf(bio_err, "verif
[all...]
H A Dopenssl.c155 BIO *bio_err = NULL; variable
205 /* we cannot use bio_err here */
287 if (bio_err == NULL)
288 if ((bio_err = BIO_new(BIO_s_file())) != NULL)
289 BIO_set_fp(bio_err, stderr, BIO_NOCLOSE | BIO_FP_TEXT);
340 BIO_printf(bio_err, "WARNING: can't open config file: %s\n", p);
345 ERR_print_errors(bio_err);
414 BIO_printf(bio_err, "error in %s\n", argv[0]);
415 (void)BIO_flush(bio_err);
417 BIO_printf(bio_err, "ba
[all...]
H A Dversion.c147 if (bio_err == NULL)
148 if ((bio_err = BIO_new(BIO_s_file())) != NULL)
149 BIO_set_fp(bio_err, stderr, BIO_NOCLOSE | BIO_FP_TEXT);
169 BIO_printf(bio_err, "usage:version -[avbofpd]\n");
H A Derrstr.c81 if (bio_err == NULL)
82 if ((bio_err = BIO_new(BIO_s_file())) != NULL)
83 BIO_set_fp(bio_err, stderr, BIO_NOCLOSE | BIO_FP_TEXT);
H A Dspeed.c334 BIO_printf(bio_err, "unable to CreateThread (%d)", ret);
670 if (bio_err == NULL)
671 if ((bio_err = BIO_new(BIO_s_file())) != NULL)
672 BIO_set_fp(bio_err, stderr, BIO_NOCLOSE | BIO_FP_TEXT);
674 if (!load_config(bio_err, NULL))
684 BIO_printf(bio_err, "out of memory\n");
688 BIO_printf(bio_err, "out of memory\n");
723 BIO_printf(bio_err, "no EVP given\n");
731 BIO_printf(bio_err, "%s is an unknown cipher or digest\n",
746 BIO_printf(bio_err, "n
[all...]
H A Dpasswd.c78 if (bio_err == NULL)
79 if ((bio_err = BIO_new(BIO_s_file())) != NULL)
80 BIO_set_fp(bio_err, stderr, BIO_NOCLOSE | BIO_FP_TEXT);
82 if (!load_config(bio_err, NULL))
158 BIO_printf(bio_err, "Usage: passwd [options] [passwords]\n");
159 BIO_printf(bio_err, "where options are\n");
161 BIO_printf(bio_err,
165 BIO_printf(bio_err,
167 BIO_printf(bio_err,
170 BIO_printf(bio_err, "
[all...]
H A Dts.c164 if (bio_err == NULL && (bio_err = BIO_new(BIO_s_file())) != NULL) {
166 BIO_set_fp(bio_err, stderr, BIO_NOCLOSE | BIO_FP_TEXT);
169 if (!load_config(bio_err, NULL))
271 if (!app_RAND_load_file(NULL, bio_err, 1) && rnd == NULL)
272 BIO_printf(bio_err, "warning, not much extra random "
275 BIO_printf(bio_err, "%ld semi-random bytes loaded\n",
281 !app_passwd(bio_err, passin, NULL, &password, NULL)) {
282 BIO_printf(bio_err, "Error getting password.\n");
337 BIO_printf(bio_err, "usag
[all...]
H A Dciphers.c103 if (bio_err == NULL)
104 bio_err = BIO_new_fp(stderr, BIO_NOCLOSE);
112 if (!load_config(bio_err, NULL))
146 BIO_printf(bio_err, "%s", *pp);
157 BIO_printf(bio_err, "Error in cipher list\n");
214 ERR_print_errors(bio_err);
H A Ds_time.c245 BIO_printf(bio_err, "verify depth is %d\n", verify_depth);
287 BIO_printf(bio_err, "-www option too long\n");
306 BIO_printf(bio_err, "time must be > 0\n");
310 BIO_printf(bio_err, "unknown option %s\n", *argv);
361 if (bio_err == NULL)
362 bio_err = BIO_new_fp(stderr, BIO_NOCLOSE);
387 * BIO_printf(bio_err,"error setting default verify locations\n");
389 ERR_print_errors(bio_err);
611 BIO_printf(bio_err, "DELAY\n");
629 BIO_printf(bio_err, "ERRO
[all...]
/freebsd-10-stable/crypto/openssl/crypto/dsa/
H A Ddsagen.c105 BIO *bio_err = NULL; local
107 if (bio_err == NULL)
108 bio_err = BIO_new_fp(stderr, BIO_NOCLOSE);
111 dsa = DSA_generate_parameters(1024, seed, 20, &counter, &h, cb, bio_err);
114 DSA_print(bio_err, dsa, 0);
H A Ddsatest.c140 static BIO *bio_err = NULL; variable
152 if (bio_err == NULL)
153 bio_err = BIO_new_fp(stderr, BIO_NOCLOSE);
162 BIO_printf(bio_err, "test generation of DSA parameters\n");
164 BN_GENCB_set(&cb, dsa_cb, bio_err);
171 BIO_printf(bio_err, "seed\n");
173 BIO_printf(bio_err, "%02X%02X%02X%02X ",
176 BIO_printf(bio_err, "\ncounter=%d h=%ld\n", counter, h);
178 DSA_print(bio_err, dsa, 0);
180 BIO_printf(bio_err, "counte
[all...]
/freebsd-10-stable/crypto/openssl/crypto/threads/
H A Dmttest.c127 BIO *bio_err = NULL; variable
164 BIO_printf(bio_err, "usage: ssltest [args ...]\n");
165 BIO_printf(bio_err, "\n");
166 BIO_printf(bio_err, " -server_auth - check server certificate\n");
167 BIO_printf(bio_err, " -client_auth - do client authentication\n");
168 BIO_printf(bio_err, " -v - more output\n");
169 BIO_printf(bio_err, " -CApath arg - PEM format directory of CA's\n");
170 BIO_printf(bio_err, " -CAfile arg - PEM format file of CA's\n");
171 BIO_printf(bio_err, " -threads arg - number of threads\n");
172 BIO_printf(bio_err, "
330 lh_SSL_SESSION_stats_bio(SSL_CTX_sessions(s_ctx), bio_err); local
334 lh_SSL_SESSION_node_usage_stats_bio(SSL_CTX_sessions(s_ctx), bio_err); local
[all...]

Completed in 275 milliseconds

123