Home
last modified time | relevance | path

Searched refs:bio_err (Results 1 – 25 of 149) sorted by relevance

123456

/netbsd-src/crypto/external/bsd/openssl.old/dist/apps/
H A Dca.c272 BIO_printf(bio_err, "%s: Use -help for summary.\n", prog); in ca_main()
434 BIO_printf(bio_err, "Using configuration from %s\n", configfile); in ca_main()
460 ERR_print_errors(bio_err); in ca_main()
471 BIO_printf(bio_err, "Invalid global string mask setting %s\n", f); in ca_main()
505 BIO_printf(bio_err, "Error verifying serial %s!\n", ser_status); in ca_main()
519 BIO_printf(bio_err, "Error getting password\n"); in ca_main()
542 BIO_printf(bio_err, in ca_main()
565 BIO_printf(bio_err, "Invalid name options: \"%s\"\n", f); in ca_main()
575 BIO_printf(bio_err, "Invalid certificate options: \"%s\"\n", f); in ca_main()
587 BIO_printf(bio_err, "Invalid extension copy option: \"%s\"\n", f); in ca_main()
[all …]
H A Dstoreutl.c80 BIO_printf(bio_err, "%s: Use -help for summary.\n", prog); in storeutl_main()
105 BIO_printf(bio_err, "%s: only one search type can be given.\n", in storeutl_main()
135 BIO_printf(bio_err, "%s: criterion already given.\n", in storeutl_main()
141 BIO_printf(bio_err, "%s: subject already given.\n", in storeutl_main()
146 BIO_printf(bio_err, "%s: can't parse subject argument.\n", in storeutl_main()
155 BIO_printf(bio_err, "%s: criterion already given.\n", in storeutl_main()
161 BIO_printf(bio_err, "%s: issuer already given.\n", in storeutl_main()
166 BIO_printf(bio_err, "%s: can't parse issuer argument.\n", in storeutl_main()
175 BIO_printf(bio_err, "%s: criterion already given.\n", in storeutl_main()
181 BIO_printf(bio_err, "%s: serial number already given.\n", in storeutl_main()
[all …]
H A Dsrp.c65 BIO_printf(bio_err, "%s \"%s\"\n", s, pp[DB_srpid]); in print_entry()
67 BIO_printf(bio_err, " %d = \"%s\"\n", j, pp[j]); in print_entry()
102 BIO_printf(bio_err, "failed to update srpvfile\n"); in update_index()
103 BIO_printf(bio_err, "TXT_DB error number %ld\n", db->db->error); in update_index()
114 BIO_printf(bio_err, "variable lookup failed for %s::%s\n", section, tag); in lookup_conf()
135 BIO_printf(bio_err, in srp_verify_user()
139 BIO_printf(bio_err, "Pass %s\n", password); in srp_verify_user()
144 BIO_printf(bio_err, "Internal error validating SRP verifier\n"); in srp_verify_user()
171 BIO_printf(bio_err, "Creating\n user=\"%s\"\n g=\"%s\"\n N=\"%s\"\n", in srp_create_user()
175 BIO_printf(bio_err, "Internal error creating SRP verifier\n"); in srp_create_user()
[all …]
H A Ddhparam.c84 BIO_printf(bio_err, "%s: Use -help for summary.\n", prog); in dhparam_main()
147 BIO_printf(bio_err, in dhparam_main()
166 ERR_print_errors(bio_err); in dhparam_main()
170 BN_GENCB_set(cb, dh_cb, bio_err); in dhparam_main()
176 BIO_printf(bio_err, in dhparam_main()
183 ERR_print_errors(bio_err); in dhparam_main()
191 ERR_print_errors(bio_err); in dhparam_main()
198 BIO_printf(bio_err, in dhparam_main()
201 BIO_printf(bio_err, "This is going to take a long time\n"); in dhparam_main()
204 ERR_print_errors(bio_err); in dhparam_main()
[all …]
H A Ds_cb.c53 BIO_printf(bio_err, "depth=%d ", depth); in verify_callback()
55 X509_NAME_print_ex(bio_err, in verify_callback()
58 BIO_puts(bio_err, "\n"); in verify_callback()
60 BIO_puts(bio_err, "<no cert>\n"); in verify_callback()
64 BIO_printf(bio_err, "verify error:num=%d:%s\n", err, in verify_callback()
78 BIO_puts(bio_err, "issuer= "); in verify_callback()
79 X509_NAME_print_ex(bio_err, X509_get_issuer_name(err_cert), in verify_callback()
81 BIO_puts(bio_err, "\n"); in verify_callback()
87 BIO_printf(bio_err, "notBefore="); in verify_callback()
88 ASN1_TIME_print(bio_err, X509_get0_notBefore(err_cert)); in verify_callback()
[all …]
H A Dgenpkey.c69 BIO_printf(bio_err, "%s: Use -help for summary.\n", prog); in genpkey_main()
100 BIO_printf(bio_err, "%s: No keytype specified.\n", prog); in genpkey_main()
104 BIO_printf(bio_err, in genpkey_main()
107 ERR_print_errors(bio_err); in genpkey_main()
127 BIO_printf(bio_err, "%s: cipher mode not supported\n", prog); in genpkey_main()
142 BIO_puts(bio_err, "Error getting password\n"); in genpkey_main()
151 EVP_PKEY_CTX_set_app_data(ctx, bio_err); in genpkey_main()
155 BIO_puts(bio_err, "Error generating parameters\n"); in genpkey_main()
156 ERR_print_errors(bio_err); in genpkey_main()
161 BIO_puts(bio_err, "Error generating key\n"); in genpkey_main()
[all …]
H A Dreq.c256 BIO_printf(bio_err, "%s: Use -help for summary.\n", prog); in req_main()
277 BIO_printf(bio_err, "Can't find keygen engine %s\n", *argv); in req_main()
376 BIO_printf(bio_err, "Serial number supplied twice\n"); in req_main()
427 BIO_printf(bio_err, "Ignoring -days; not generating a certificate\n"); in req_main()
435 BIO_printf(bio_err, "Error getting passwords\n"); in req_main()
440 BIO_printf(bio_err, "Using configuration from %s\n", template); in req_main()
445 BIO_printf(bio_err, in req_main()
497 BIO_printf(bio_err, in req_main()
508 BIO_printf(bio_err, "Error Loading command line extensions\n"); in req_main()
532 BIO_printf(bio_err, "Invalid global string mask setting %s\n", p); in req_main()
[all …]
H A Ds_client.c152 BIO_printf(bio_err, "Could not convert PSK key '%s' to buffer\n", in psk_client_cb()
157 BIO_printf(bio_err, in psk_client_cb()
173 BIO_printf(bio_err, "Error in PSK client callback\n"); in psk_client_cb()
196 BIO_printf(bio_err, "Could not convert PSK key '%s' to buffer\n", in psk_use_session_cb()
204 BIO_printf(bio_err, "Error finding suitable ciphersuite\n"); in psk_use_session_cb()
256 BIO_printf(bio_err, "Can't use SSL_get_servername\n"); in ssl_servername_cb()
321 BIO_printf(bio_err, "SRP parameters:\n"); in ssl_srp_verify_param_cb()
322 BIO_printf(bio_err, "\tN="); in ssl_srp_verify_param_cb()
323 BN_print(bio_err, N); in ssl_srp_verify_param_cb()
324 BIO_printf(bio_err, "\n\tg="); in ssl_srp_verify_param_cb()
[all …]
H A Denc.c133 BIO_printf(bio_err, "%s is not a known cipher\n", prog); in enc_main()
144 BIO_printf(bio_err, "%s: Use -help for summary.\n", prog); in enc_main()
233 BIO_printf(bio_err, in enc_main()
240 BIO_printf(bio_err, "%s: zero length password\n", prog); in enc_main()
283 BIO_printf(bio_err, "Extra arguments given.\n"); in enc_main()
288 BIO_printf(bio_err, "%s: AEAD ciphers not supported\n", prog); in enc_main()
293 BIO_printf(bio_err, "%s XTS ciphers not supported\n", prog); in enc_main()
307 BIO_printf(bio_err, "bufsize=%d\n", bsize); in enc_main()
332 BIO_printf(bio_err, "Error getting password\n"); in enc_main()
358 BIO_printf(bio_err, "bad password read\n"); in enc_main()
[all …]
H A Dpkcs8.c89 BIO_printf(bio_err, "%s: Use -help for summary.\n", prog); in pkcs8_main()
132 BIO_printf(bio_err, in pkcs8_main()
140 BIO_printf(bio_err, in pkcs8_main()
190 BIO_printf(bio_err, "Error getting passwords\n"); in pkcs8_main()
209 BIO_printf(bio_err, "Error converting key\n"); in pkcs8_main()
210 ERR_print_errors(bio_err); in pkcs8_main()
220 BIO_printf(bio_err, "Bad format specified for key\n"); in pkcs8_main()
238 BIO_printf(bio_err, "Error setting PBE algorithm\n"); in pkcs8_main()
239 ERR_print_errors(bio_err); in pkcs8_main()
255 BIO_printf(bio_err, "Password required\n"); in pkcs8_main()
[all …]
H A Ddgst.c114 BIO_printf(bio_err, "%s: Use -help for summary.\n", prog); in dgst_main()
209 BIO_printf(bio_err, "%s: Can only sign or verify one file.\n", prog); in dgst_main()
214 BIO_printf(bio_err, in dgst_main()
224 ERR_print_errors(bio_err); in dgst_main()
231 BIO_set_callback_arg(in, (char *)bio_err); in dgst_main()
235 BIO_printf(bio_err, "Error getting password\n"); in dgst_main()
251 BIO_printf(bio_err, "MAC and Signing key cannot both be specified\n"); in dgst_main()
274 BIO_printf(bio_err, "Key type not supported for this operation\n"); in dgst_main()
289 BIO_printf(bio_err, in dgst_main()
291 ERR_print_errors(bio_err); in dgst_main()
[all …]
H A Dcms.c230 BIO_printf(bio_err, "%s: Use -help for summary.\n", prog); in cms_main()
411 BIO_printf(bio_err, "Invalid key (supplied twice) %s\n", in cms_main()
417 BIO_printf(bio_err, "Invalid key %s\n", opt_arg()); in cms_main()
424 BIO_printf(bio_err, "Invalid id (supplied twice) %s\n", in cms_main()
430 BIO_printf(bio_err, "Invalid id %s\n", opt_arg()); in cms_main()
440 BIO_printf(bio_err, "Invalid OID (supplied twice) %s\n", in cms_main()
446 BIO_printf(bio_err, "Invalid OID %s\n", opt_arg()); in cms_main()
493 BIO_puts(bio_err, "Illegal -inkey without -signer\n"); in cms_main()
542 BIO_printf(bio_err, "No key specified\n"); in cms_main()
591 BIO_puts(bio_err, "No Signed Receipts Recipients\n"); in cms_main()
[all …]
H A Dpkeyutl.c104 BIO_printf(bio_err, "%s: Use -help for summary.\n", prog); in pkeyutl_main()
191 BIO_puts(bio_err, "out of memory\n"); in pkeyutl_main()
203 BIO_printf(bio_err, in pkeyutl_main()
208 BIO_printf(bio_err, in pkeyutl_main()
212 BIO_printf(bio_err, in pkeyutl_main()
219 BIO_printf(bio_err, "%s: Error initializing context\n", prog); in pkeyutl_main()
220 ERR_print_errors(bio_err); in pkeyutl_main()
224 BIO_printf(bio_err, "%s: Error setting up peer key\n", prog); in pkeyutl_main()
225 ERR_print_errors(bio_err); in pkeyutl_main()
236 BIO_printf(bio_err, "%s: Can't set parameter \"%s\":\n", in pkeyutl_main()
[all …]
H A Dpkcs12.c151 BIO_printf(bio_err, "%s: Use -help for summary.\n", prog); in pkcs12_main()
297 BIO_printf(bio_err, "Error getting passwords\n"); in pkcs12_main()
313 BIO_printf(bio_err, "Option -twopass cannot be used with -passout or -password\n"); in pkcs12_main()
315 BIO_printf(bio_err, "Option -twopass cannot be used with -passin or -password\n"); in pkcs12_main()
329 BIO_printf(bio_err, "Can't read Password\n"); in pkcs12_main()
334 BIO_printf(bio_err, "Unsupported option -twopass\n"); in pkcs12_main()
348 BIO_printf(bio_err, "Nothing to do!\n"); in pkcs12_main()
383 BIO_printf(bio_err, in pkcs12_main()
419 BIO_printf(bio_err, "Error %s getting chain.\n", in pkcs12_main()
422 ERR_print_errors(bio_err); in pkcs12_main()
[all …]
/netbsd-src/crypto/external/bsd/openssl/dist/apps/
H A Dca.c311 BIO_printf(bio_err, "%s: Use -help for summary.\n", prog); in ca_main()
538 BIO_printf(bio_err, "Invalid global string mask setting %s\n", f); in ca_main()
566 … BIO_printf(bio_err, "Problem with index file: %s (could not load/parse file)\n", dbfile); in ca_main()
574 BIO_printf(bio_err, "Error verifying serial %s!\n", ser_status); in ca_main()
588 BIO_printf(bio_err, "Error getting password\n"); in ca_main()
610 BIO_printf(bio_err, in ca_main()
635 BIO_printf(bio_err, "Invalid name options: \"%s\"\n", f); in ca_main()
645 BIO_printf(bio_err, "Invalid certificate options: \"%s\"\n", f); in ca_main()
657 BIO_printf(bio_err, "Invalid extension copy option: \"%s\"\n", f); in ca_main()
670 BIO_printf(bio_err, in ca_main()
[all …]
H A Dsrp.c69 BIO_printf(bio_err, "%s \"%s\"\n", s, pp[DB_srpid]); in print_entry()
71 BIO_printf(bio_err, " %d = \"%s\"\n", j, pp[j]); in print_entry()
106 BIO_printf(bio_err, "failed to update srpvfile\n"); in update_index()
107 BIO_printf(bio_err, "TXT_DB error number %ld\n", db->db->error); in update_index()
118 BIO_printf(bio_err, "variable lookup failed for %s::%s\n", section, tag); in lookup_conf()
139 BIO_printf(bio_err, in srp_verify_user()
143 BIO_printf(bio_err, "Pass %s\n", password); in srp_verify_user()
148 BIO_printf(bio_err, "Internal error validating SRP verifier\n"); in srp_verify_user()
175 BIO_printf(bio_err, "Creating\n user=\"%s\"\n g=\"%s\"\n N=\"%s\"\n", in srp_create_user()
179 BIO_printf(bio_err, "Internal error creating SRP verifier\n"); in srp_create_user()
[all …]
H A Ds_client.c129 BIO_printf(bio_err, "Could not convert PSK key '%s' to buffer\n", in psk_client_cb()
134 BIO_printf(bio_err, in psk_client_cb()
150 BIO_printf(bio_err, "Error in PSK client callback\n"); in psk_client_cb()
173 BIO_printf(bio_err, "Could not convert PSK key '%s' to buffer\n", in psk_use_session_cb()
181 BIO_printf(bio_err, "Error finding suitable ciphersuite\n"); in psk_use_session_cb()
233 BIO_printf(bio_err, "Can't use SSL_get_servername\n"); in ssl_servername_cb()
393 BIO_printf(bio_err, "%s: warning: bad TLSA %s field in: %s\n", in tlsa_import_rr()
403 ERR_print_errors(bio_err); in tlsa_import_rr()
404 BIO_printf(bio_err, "%s: warning: unusable TLSA rrdata: %s\n", in tlsa_import_rr()
409 ERR_print_errors(bio_err); in tlsa_import_rr()
[all …]
H A Dstoreutl.c95 BIO_printf(bio_err, "%s: Use -help for summary.\n", prog); in storeutl_main()
120 BIO_printf(bio_err, "%s: only one search type can be given.\n", in storeutl_main()
150 BIO_printf(bio_err, "%s: criterion already given.\n", in storeutl_main()
156 BIO_printf(bio_err, "%s: subject already given.\n", in storeutl_main()
167 BIO_printf(bio_err, "%s: criterion already given.\n", in storeutl_main()
173 BIO_printf(bio_err, "%s: issuer already given.\n", in storeutl_main()
184 BIO_printf(bio_err, "%s: criterion already given.\n", in storeutl_main()
190 BIO_printf(bio_err, "%s: serial number already given.\n", in storeutl_main()
195 BIO_printf(bio_err, "%s: can't parse serial number argument.\n", in storeutl_main()
204 BIO_printf(bio_err, "%s: criterion already given.\n", in storeutl_main()
[all …]
H A Denc.c161 BIO_printf(bio_err, "%s: Use -help for summary.\n", prog); in enc_main()
250 BIO_printf(bio_err, in enc_main()
257 BIO_printf(bio_err, "%s: zero length password\n", prog); in enc_main()
326 BIO_printf(bio_err, "bufsize=%d\n", bsize); in enc_main()
351 BIO_printf(bio_err, "Error getting password\n"); in enc_main()
377 BIO_printf(bio_err, "bad password read\n"); in enc_main()
383 BIO_printf(bio_err, "password required\n"); in enc_main()
395 BIO_set_callback_arg(in, (char *)bio_err); in enc_main()
396 BIO_set_callback_arg(out, (char *)bio_err); in enc_main()
408 BIO_set_callback_arg(bzl, (char *)bio_err); in enc_main()
[all …]
H A Dpkcs12.c33 BIO_printf(bio_err, "Warning: -%s option ignored with -export\n", opt);
35 BIO_printf(bio_err, "Warning: -%s option ignored without -export\n", opt);
191 BIO_printf(bio_err, "%s: Use -help for summary.\n", prog); in pkcs12_main()
380 BIO_printf(bio_err, in pkcs12_main()
461 BIO_printf(bio_err, "Error getting certificate file password\n"); in pkcs12_main()
473 BIO_printf(bio_err, "Error getting passwords\n"); in pkcs12_main()
489 BIO_printf(bio_err, "Option -twopass cannot be used with -passout or -password\n"); in pkcs12_main()
491 BIO_printf(bio_err, "Option -twopass cannot be used with -passin or -password\n"); in pkcs12_main()
505 BIO_printf(bio_err, "Can't read Password\n"); in pkcs12_main()
510 BIO_printf(bio_err, "Unsupported option -twopass\n"); in pkcs12_main()
[all …]
H A Dreq.c278 BIO_printf(bio_err, "%s: Use -help for summary.\n", prog); in req_main()
299 BIO_printf(bio_err, "Can't find keygen engine %s\n", *argv); in req_main()
418 BIO_printf(bio_err, "%s: -days parameter arg must be >= -1\n", in req_main()
425 BIO_printf(bio_err, "Serial number supplied twice\n"); in req_main()
443 BIO_printf(bio_err, "Invalid extension copy option: \"%s\"\n", in req_main()
458 BIO_printf(bio_err, "Duplicate extension: %s\n", p); in req_main()
489 BIO_printf(bio_err, "Ignoring -days without -x509; not generating a certificate\n"); in req_main()
491 BIO_printf(bio_err, "Ignoring -copy_extensions 'none' when -x509 is not given\n"); in req_main()
497 BIO_printf(bio_err, "Error getting passwords\n"); in req_main()
505 BIO_printf(bio_err, in req_main()
[all …]
H A Dpkcs8.c98 BIO_printf(bio_err, "%s: Use -help for summary.\n", prog); in pkcs8_main()
144 BIO_printf(bio_err, in pkcs8_main()
152 BIO_printf(bio_err, in pkcs8_main()
210 BIO_printf(bio_err, "Error getting passwords\n"); in pkcs8_main()
230 BIO_printf(bio_err, "Error converting key\n"); in pkcs8_main()
231 ERR_print_errors(bio_err); in pkcs8_main()
241 BIO_printf(bio_err, "Bad format specified for key\n"); in pkcs8_main()
259 BIO_printf(bio_err, "Error setting PBE algorithm\n"); in pkcs8_main()
260 ERR_print_errors(bio_err); in pkcs8_main()
276 BIO_printf(bio_err, "Password required\n"); in pkcs8_main()
[all …]
H A Dpkeyutl.c138 BIO_printf(bio_err, "%s: Use -help for summary.\n", prog); in pkeyutl_main()
234 BIO_puts(bio_err, "out of memory\n"); in pkeyutl_main()
242 BIO_puts(bio_err, "out of memory\n"); in pkeyutl_main()
264 BIO_printf(bio_err, in pkeyutl_main()
271 BIO_printf(bio_err, in pkeyutl_main()
278 BIO_printf(bio_err, "%s: -rev cannot be used with raw input\n", in pkeyutl_main()
285 BIO_printf(bio_err, in pkeyutl_main()
290 BIO_printf(bio_err, in pkeyutl_main()
294 BIO_printf(bio_err, in pkeyutl_main()
301 BIO_printf(bio_err, "Error: out of memory\n"); in pkeyutl_main()
[all …]
/netbsd-src/crypto/external/bsd/openssl/dist/test/
H A Dbio_prefix_text.c18 static BIO *bio_err = NULL; variable
67 ret = BIO_vprintf(bio_err, fmt, ap); in opt_printf_stderr()
135 BIO_free_all(bio_err); in cleanup()
149 bio_err = BIO_new_fp(stderr, BIO_NOCLOSE | BIO_FP_TEXT); in setup()
152 bio_err = BIO_push(BIO_new(BIO_f_linebuffer()), bio_err); in setup()
157 OPENSSL_assert(bio_err != NULL); in setup()
166 BIO_printf(bio_err, in setup()
172 BIO_printf(bio_err, "%s: must set up at least one filter", in setup()
177 BIO_printf(bio_err, "%s: failed setting up filter chain", in setup()
184 BIO_printf(bio_err, "%s: -i given before -n", progname); in setup()
[all …]
/netbsd-src/crypto/external/bsd/openssl.old/dist/test/testutil/
H A Dbasic_output.c18 BIO *bio_err = NULL; variable
23 bio_err = BIO_new_fp(stderr, BIO_NOCLOSE | BIO_FP_TEXT); in test_open_streams()
26 bio_err = BIO_push(BIO_new(BIO_f_linebuffer()), bio_err); in test_open_streams()
28 bio_err = BIO_push(BIO_new(BIO_f_tap()), bio_err); in test_open_streams()
31 OPENSSL_assert(bio_err != NULL); in test_open_streams()
37 BIO_free_all(bio_err); in test_close_streams()
47 return BIO_vprintf(bio_err, fmt, ap); in test_vprintf_stderr()
57 return BIO_flush(bio_err); in test_flush_stderr()

123456