Home
last modified time | relevance | path

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

1234

/freebsd/crypto/openssl/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 Dspeed.c174 BIO_printf(bio_err, "unable to CreateThread (%lu)", err); in Time_F()
785 BIO_printf(bio_err, "\nFailed to set iv length\n"); in EVP_Update_loop_aead_enc()
786 ERR_print_errors(bio_err); in EVP_Update_loop_aead_enc()
795 BIO_printf(bio_err, "\nFailed to set tag length\n"); in EVP_Update_loop_aead_enc()
796 ERR_print_errors(bio_err); in EVP_Update_loop_aead_enc()
801 BIO_printf(bio_err, "\nFailed to set key and iv\n"); in EVP_Update_loop_aead_enc()
802 ERR_print_errors(bio_err); in EVP_Update_loop_aead_enc()
809 BIO_printf(bio_err, "\nCouldn't set input text length\n"); in EVP_Update_loop_aead_enc()
810 ERR_print_errors(bio_err); in EVP_Update_loop_aead_enc()
816 BIO_printf(bio_err, "\nCouldn't insert AAD when encrypting\n"); in EVP_Update_loop_aead_enc()
[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()
381 BIO_printf(bio_err, in pkcs12_main()
462 BIO_printf(bio_err, "Error getting certificate file password\n"); in pkcs12_main()
474 BIO_printf(bio_err, "Error getting passwords\n"); in pkcs12_main()
490 BIO_printf(bio_err, "Option -twopass cannot be used with -passout or -password\n"); in pkcs12_main()
492 BIO_printf(bio_err, "Option -twopass cannot be used with -passin or -password\n"); in pkcs12_main()
506 BIO_printf(bio_err, "Can't read Password\n"); in pkcs12_main()
511 BIO_printf(bio_err, "Unsupported option -twopass\n"); in pkcs12_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 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 Ddhparam.c97 BIO_printf(bio_err, "%s: Use -help for summary.\n", prog); in dhparam_main()
168 BIO_printf(bio_err, in dhparam_main()
185 BIO_printf(bio_err, "Warning, input file %s ignored\n", infile); in dhparam_main()
190 BIO_printf(bio_err, in dhparam_main()
196 EVP_PKEY_CTX_set_app_data(ctx, bio_err); in dhparam_main()
197 BIO_printf(bio_err, in dhparam_main()
202 BIO_printf(bio_err, in dhparam_main()
210 BIO_printf(bio_err, "Error, unable to set DSA prime length\n"); in dhparam_main()
215 BIO_printf(bio_err, "Error, unable to set DH prime length\n"); in dhparam_main()
219 BIO_printf(bio_err, "Error, unable to set generator\n"); in dhparam_main()
[all …]
H A Dpkeyutl.c139 BIO_printf(bio_err, "%s: Use -help for summary.\n", prog); in pkeyutl_main()
235 BIO_puts(bio_err, "out of memory\n"); in pkeyutl_main()
243 BIO_puts(bio_err, "out of memory\n"); in pkeyutl_main()
265 BIO_printf(bio_err, in pkeyutl_main()
272 BIO_printf(bio_err, in pkeyutl_main()
279 BIO_printf(bio_err, "%s: -rev cannot be used with raw input\n", in pkeyutl_main()
286 BIO_printf(bio_err, in pkeyutl_main()
291 BIO_printf(bio_err, in pkeyutl_main()
295 BIO_printf(bio_err, in pkeyutl_main()
302 BIO_printf(bio_err, "Error: out of memory\n"); in pkeyutl_main()
[all …]
H A Dcms.c248 BIO_printf(bio_err, "Error allocating CMS_contentinfo\n"); in load_content_info()
262 BIO_printf(bio_err, "Bad input format for %s\n", name); in load_content_info()
266 BIO_printf(bio_err, "Error reading %s Content Info\n", name); in load_content_info()
323 BIO_printf(bio_err, "%s: Use -help for summary.\n", prog); in cms_main()
516 BIO_printf(bio_err, "Invalid key (supplied twice) %s\n", in cms_main()
522 BIO_printf(bio_err, "Invalid key %s\n", opt_arg()); in cms_main()
529 BIO_printf(bio_err, "Invalid id (supplied twice) %s\n", in cms_main()
535 BIO_printf(bio_err, "Invalid id %s\n", opt_arg()); in cms_main()
545 BIO_printf(bio_err, "Invalid OID (supplied twice) %s\n", in cms_main()
551 BIO_printf(bio_err, "Invalid OID %s\n", opt_arg()); in cms_main()
[all …]
H A Dasn1parse.c83 BIO_printf(bio_err, "%s: Memory allocation failure\n", prog); in asn1parse_main()
92 BIO_printf(bio_err, "%s: Use -help for summary.\n", prog); in asn1parse_main()
148 BIO_printf(bio_err, "Unknown item name %s\n", opt_arg()); in asn1parse_main()
149 BIO_puts(bio_err, "Supported types:\n"); in asn1parse_main()
154 BIO_printf(bio_err, " %s\n", it->sname); in asn1parse_main()
185 BIO_printf(bio_err, "Error reading PEM file\n"); in asn1parse_main()
186 ERR_print_errors(bio_err); in asn1parse_main()
198 ERR_print_errors(bio_err); in asn1parse_main()
238 BIO_printf(bio_err, "'%s' is out of range\n", in asn1parse_main()
249 BIO_printf(bio_err, "Error parsing structure\n"); in asn1parse_main()
[all …]
H A Dopenssl.c44 BIO *bio_err = NULL; variable
49 BIO_printf(bio_err, "The command %s was deprecated in version %s.", in warn_deprecated()
52 BIO_printf(bio_err, "The command %s is deprecated.", fp->name); in warn_deprecated()
54 BIO_printf(bio_err, " Use '%s' instead.", fp->deprecated_alternative); in warn_deprecated()
55 BIO_printf(bio_err, "\n"); in warn_deprecated()
115 BIO_printf(bio_err, "ERROR: tracing already started\n"); in internal_trace_cb()
130 BIO_printf(bio_err, "ERROR: writing when tracing not started\n"); in internal_trace_cb()
138 BIO_printf(bio_err, "ERROR: finishing when tracing not started\n"); in internal_trace_cb()
252 bio_err = dup_bio_err(FORMAT_TEXT); in main()
267 BIO_printf(bio_err, in main()
[all …]
H A Ds_server.c145 BIO_printf(bio_err, "Error: client did not send PSK identity\n"); in psk_server_cb()
164 BIO_printf(bio_err, "Could not convert PSK key '%s' to buffer\n", in psk_server_cb()
169 BIO_printf(bio_err, in psk_server_cb()
184 BIO_printf(bio_err, "Error in PSK server callback\n"); in psk_server_cb()
185 (void)BIO_flush(bio_err); in psk_server_cb()
213 BIO_printf(bio_err, "Could not convert PSK key '%s' to buffer\n", in psk_find_session_cb()
221 BIO_printf(bio_err, "Error finding suitable ciphersuite\n"); in psk_find_session_cb()
491 BIO_puts(bio_err, "cert_status: can't parse AIA URL\n"); in get_ocsp_resp_from_responder()
495 BIO_printf(bio_err, "cert_status: AIA URL: %s\n", in get_ocsp_resp_from_responder()
499 BIO_puts(bio_err, in get_ocsp_resp_from_responder()
[all …]
H A Dec.c89 BIO_printf(bio_err, "%s: Use -help for summary.\n", prog); in ec_main()
173 BIO_printf(bio_err, "Error getting passwords\n"); in ec_main()
177 BIO_printf(bio_err, "read EC key\n"); in ec_main()
185 BIO_printf(bio_err, "unable to load Key\n"); in ec_main()
197 BIO_printf(bio_err, "unable to set point conversion format\n"); in ec_main()
204 BIO_printf(bio_err, "unable to set asn1 encoding format\n"); in ec_main()
210 BIO_printf(bio_err, "unable to disable public key encoding\n"); in ec_main()
215 BIO_printf(bio_err, "unable to enable public key encoding\n"); in ec_main()
224 BIO_printf(bio_err, "unable to print EC key\n"); in ec_main()
232 BIO_printf(bio_err, "unable to check EC key\n"); in ec_main()
[all …]
H A Drsa.c148 BIO_printf(bio_err, "%s: Use -help for summary.\n", prog); in rsa_main()
231 BIO_printf(bio_err, "Error getting passwords\n"); in rsa_main()
235 BIO_printf(bio_err, "Only private keys can be checked\n"); in rsa_main()
257 ERR_print_errors(bio_err); in rsa_main()
261 BIO_printf(bio_err, "Not an RSA key\n"); in rsa_main()
274 ERR_print_errors(bio_err); in rsa_main()
295 BIO_printf(bio_err, "RSA unable to create PKEY context\n"); in rsa_main()
296 ERR_print_errors(bio_err); in rsa_main()
305 BIO_printf(bio_err, "RSA key not ok\n"); in rsa_main()
306 ERR_print_errors(bio_err); in rsa_main()
[all …]
H A Ddsa.c102 BIO_printf(bio_err, "%s: Use -help for summary.\n", prog); in dsa_main()
177 BIO_printf(bio_err, "Error getting passwords\n"); in dsa_main()
181 BIO_printf(bio_err, "read DSA key\n"); in dsa_main()
188 BIO_printf(bio_err, "unable to load Key\n"); in dsa_main()
189 ERR_print_errors(bio_err); in dsa_main()
193 BIO_printf(bio_err, "Not a DSA key\n"); in dsa_main()
206 ERR_print_errors(bio_err); in dsa_main()
215 ERR_print_errors(bio_err); in dsa_main()
228 BIO_printf(bio_err, "writing DSA key\n"); in dsa_main()
237 BIO_printf(bio_err, "PVK form impossible with public key input\n"); in dsa_main()
[all …]
H A Dgenpkey.c86 BIO_printf(bio_err, "%s: Use -help for summary.\n", prog); in genpkey_main()
161 BIO_printf(bio_err, "%s: Error setting %s parameter:\n", prog, p); in genpkey_main()
162 ERR_print_errors(bio_err); in genpkey_main()
173 BIO_puts(bio_err, "Error getting password\n"); in genpkey_main()
182 EVP_PKEY_CTX_set_app_data(ctx, bio_err); in genpkey_main()
198 BIO_printf(bio_err, "Bad format specified for key\n"); in genpkey_main()
205 BIO_puts(bio_err, "Error writing key\n"); in genpkey_main()
216 BIO_puts(bio_err, "Error printing key\n"); in genpkey_main()
224 ERR_print_errors(bio_err); in genpkey_main()
243 BIO_puts(bio_err, "Parameters already set!\n"); in init_keygen_file()
[all …]
H A Decparam.c120 BIO_printf(bio_err, "%s: Use -help for summary.\n", prog); in ecparam_main()
213 BIO_printf(bio_err, in ecparam_main()
217 BIO_printf(bio_err, in ecparam_main()
242 BIO_printf(bio_err, "unable to generate key\n"); in ecparam_main()
253 BIO_printf(bio_err, "unable to set point conversion format\n"); in ecparam_main()
260 BIO_printf(bio_err, "unable to set asn1 encoding format\n"); in ecparam_main()
268 BIO_printf(bio_err, "unable to clear seed\n"); in ecparam_main()
274 BIO_printf(bio_err, "unable to print params\n"); in ecparam_main()
279 BIO_printf(bio_err, "checking elliptic curve parameters: "); in ecparam_main()
285 BIO_printf(bio_err, "unable to set check_type\n"); in ecparam_main()
[all …]
H A Dx509.c188 BIO_printf(bio_err, in warn_copying()
225 BIO_printf(bio_err, "Error copying extensions from certificate\n"); in x509_to_req()
244 BIO_printf(bio_err, "Error initialising X509 store\n"); in self_signed()
311 BIO_printf(bio_err, "%s: Use -help for summary.\n", prog); in x509_main()
349 BIO_printf(bio_err, in x509_main()
356 BIO_printf(bio_err, in x509_main()
377 BIO_printf(bio_err, "%s: -days parameter arg must be >= -1\n", in x509_main()
414 BIO_printf(bio_err, "Serial number supplied twice\n"); in x509_main()
433 BIO_printf(bio_err, "%s: Invalid trust object value %s\n", in x509_main()
444 BIO_printf(bio_err, "%s: Invalid reject object value %s\n", in x509_main()
[all …]
/freebsd/crypto/openssl/apps/lib/
H A Ds_cb.c55 BIO_printf(bio_err, "depth=%d ", depth); in verify_callback()
57 X509_NAME_print_ex(bio_err, in verify_callback()
60 BIO_puts(bio_err, "\n"); in verify_callback()
62 BIO_puts(bio_err, "<no cert>\n"); in verify_callback()
66 BIO_printf(bio_err, "verify error:num=%d:%s\n", err, in verify_callback()
80 BIO_puts(bio_err, "issuer= "); in verify_callback()
81 X509_NAME_print_ex(bio_err, X509_get_issuer_name(err_cert), in verify_callback()
83 BIO_puts(bio_err, "\n"); in verify_callback()
89 BIO_printf(bio_err, "notBefore="); in verify_callback()
90 ASN1_TIME_print(bio_err, X509_get0_notBefore(err_cert)); in verify_callback()
[all …]
H A Dtlssrp_depr.c73 BIO_printf(bio_err, "SRP parameters:\n"); in ssl_srp_verify_param_cb()
74 BIO_printf(bio_err, "\tN="); in ssl_srp_verify_param_cb()
75 BN_print(bio_err, N); in ssl_srp_verify_param_cb()
76 BIO_printf(bio_err, "\n\tg="); in ssl_srp_verify_param_cb()
77 BN_print(bio_err, g); in ssl_srp_verify_param_cb()
78 BIO_printf(bio_err, "\n"); in ssl_srp_verify_param_cb()
86 BIO_printf(bio_err, in ssl_srp_verify_param_cb()
97 BIO_printf(bio_err, "SRP param N and g rejected.\n"); in ssl_srp_verify_param_cb()
113 BIO_printf(bio_err, "Can't read Password\n"); in ssl_give_srp_client_pwd_cb()
126 BIO_printf(bio_err, "Unable to set SRP username\n"); in set_up_srp_arg()
[all …]
H A Dapps.c224 BIO_printf(bio_err, "Error getting password for %s\n", desc); in get_passwd()
226 BIO_printf(bio_err, in get_passwd()
230 BIO_printf(bio_err, "Out of memory getting password for %s\n", desc); in get_passwd()
268 BIO_printf(bio_err, "No environment variable %s\n", arg + 4); in app_get_pass()
277 BIO_printf(bio_err, "Can't open file %s\n", arg + 5); in app_get_pass()
295 BIO_printf(bio_err, "Can't access file descriptor %s\n", arg + 3); in app_get_pass()
305 BIO_printf(bio_err, "Out of memory\n"); in app_get_pass()
314 BIO_printf(bio_err, "Can't open BIO for stdin\n"); in app_get_pass()
321 BIO_printf(bio_err, in app_get_pass()
325 BIO_printf(bio_err, in app_get_pass()
[all …]
/freebsd/crypto/openssl/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 …]

1234