| /freebsd/crypto/openssl/apps/ |
| H A D | ca.c | 362 BIO_printf(bio_err, "%s: Use -help for summary.\n", prog); in ca_main() 589 BIO_printf(bio_err, "Invalid global string mask setting %s\n", f); in ca_main() 613 … BIO_printf(bio_err, "Problem with index file: %s (could not load/parse file)\n", dbfile); in ca_main() 621 BIO_printf(bio_err, "Error verifying serial %s!\n", ser_status); in ca_main() 635 BIO_printf(bio_err, "Error getting password\n"); in ca_main() 657 BIO_printf(bio_err, in ca_main() 675 BIO_printf(bio_err, "Invalid name options: \"%s\"\n", f); in ca_main() 684 BIO_printf(bio_err, "Invalid certificate options: \"%s\"\n", f); in ca_main() 693 BIO_printf(bio_err, "Invalid extension copy option: \"%s\"\n", f); in ca_main() 704 BIO_printf(bio_err, in ca_main() [all …]
|
| H A D | srp.c | 68 BIO_printf(bio_err, "%s \"%s\"\n", s, pp[DB_srpid]); in print_entry() 70 BIO_printf(bio_err, " %d = \"%s\"\n", j, pp[j]); in print_entry() 104 BIO_printf(bio_err, "failed to update srpvfile\n"); in update_index() 105 BIO_printf(bio_err, "TXT_DB error number %ld\n", db->db->error); in update_index() 116 BIO_printf(bio_err, "variable lookup failed for %s::%s\n", section, tag); in lookup_conf() 137 BIO_printf(bio_err, in srp_verify_user() 141 BIO_printf(bio_err, "Pass %s\n", password); in srp_verify_user() 147 BIO_printf(bio_err, "Internal error validating SRP verifier\n"); in srp_verify_user() 174 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 D | storeutl.c | 108 BIO_printf(bio_err, "%s: Use -help for summary.\n", prog); in storeutl_main() 133 BIO_printf(bio_err, "%s: only one search type can be given.\n", in storeutl_main() 163 BIO_printf(bio_err, "%s: criterion already given.\n", in storeutl_main() 169 BIO_printf(bio_err, "%s: subject already given.\n", in storeutl_main() 180 BIO_printf(bio_err, "%s: criterion already given.\n", in storeutl_main() 186 BIO_printf(bio_err, "%s: issuer already given.\n", in storeutl_main() 197 BIO_printf(bio_err, "%s: criterion already given.\n", in storeutl_main() 203 BIO_printf(bio_err, "%s: serial number already given.\n", in storeutl_main() 208 BIO_printf(bio_err, "%s: can't parse serial number argument.\n", in storeutl_main() 215 BIO_printf(bio_err, "%s: criterion already given.\n", in storeutl_main() [all …]
|
| H A D | s_client.c | 174 BIO_printf(bio_err, "Could not convert PSK key '%s' to buffer\n", in psk_client_cb() 179 BIO_printf(bio_err, in psk_client_cb() 195 BIO_printf(bio_err, "Error in PSK client callback\n"); in psk_client_cb() 219 BIO_printf(bio_err, "Could not convert PSK key '%s' to buffer\n", in psk_use_session_cb() 227 BIO_printf(bio_err, "Error finding suitable ciphersuite\n"); in psk_use_session_cb() 279 BIO_printf(bio_err, "Can't use SSL_get_servername\n"); in ssl_servername_cb() 438 BIO_printf(bio_err, "%s: warning: bad TLSA %s field in: %s\n", in tlsa_import_rr() 448 ERR_print_errors(bio_err); in tlsa_import_rr() 449 BIO_printf(bio_err, "%s: warning: unusable TLSA rrdata: %s\n", in tlsa_import_rr() 454 ERR_print_errors(bio_err); in tlsa_import_rr() [all …]
|
| H A D | req.c | 251 BIO_printf(bio_err, "Parse error on -addext: missing '='\n"); in duplicated() 263 BIO_printf(bio_err, "Parse error on -addext: missing key\n"); in duplicated() 272 BIO_printf(bio_err, "Duplicate extension name: %s\n", kv); in duplicated() 326 BIO_printf(bio_err, "%s: Use -help for summary.\n", prog); in req_main() 347 BIO_printf(bio_err, "Can't find keygen engine %s\n", *argv); in req_main() 480 BIO_printf(bio_err, "%s: -days parameter arg must be >= -1\n", in req_main() 487 BIO_printf(bio_err, "Serial number supplied twice\n"); in req_main() 505 BIO_printf(bio_err, "Invalid extension copy option: \"%s\"\n", in req_main() 526 BIO_printf(bio_err, "Internal error handling -addext %s\n", p); in req_main() 536 BIO_printf(bio_err, "Unknown cipher: %s\n", opt_arg()); in req_main() [all …]
|
| H A D | enc.c | 212 BIO_printf(bio_err, "%s: Use -help for summary.\n", prog); in enc_main() 303 BIO_printf(bio_err, in enc_main() 310 BIO_printf(bio_err, "%s: zero length password\n", prog); in enc_main() 350 BIO_printf(bio_err, "%s: out of memory\n", prog); in enc_main() 397 BIO_printf(bio_err, "bufsize=%d\n", bsize); in enc_main() 420 BIO_printf(bio_err, "Unstreamable cipher mode\n"); in enc_main() 432 BIO_printf(bio_err, "Error getting password\n"); in enc_main() 458 BIO_printf(bio_err, "bad password read\n"); in enc_main() 464 BIO_printf(bio_err, "password required\n"); in enc_main() 476 BIO_set_callback_arg(in, (char *)bio_err); in enc_main() [all …]
|
| H A D | pkcs12.c | 35 BIO_printf(bio_err, "Warning: -%s option ignored with -export\n", opt); 37 BIO_printf(bio_err, "Warning: -%s option ignored without -export\n", opt); 241 BIO_printf(bio_err, "%s: Use -help for summary.\n", prog); in pkcs12_main() 441 BIO_printf(bio_err, in pkcs12_main() 524 BIO_printf(bio_err, "Error getting certificate file password\n"); in pkcs12_main() 536 BIO_printf(bio_err, "Error getting passwords\n"); in pkcs12_main() 552 BIO_printf(bio_err, "Option -twopass cannot be used with -passout or -password\n"); in pkcs12_main() 554 BIO_printf(bio_err, "Option -twopass cannot be used with -passin or -password\n"); in pkcs12_main() 568 BIO_printf(bio_err, "Can't read Password\n"); in pkcs12_main() 573 BIO_printf(bio_err, "Unsupported option -twopass\n"); in pkcs12_main() [all …]
|
| H A D | pkcs8.c | 119 BIO_printf(bio_err, "%s: Use -help for summary.\n", prog); in pkcs8_main() 165 BIO_printf(bio_err, in pkcs8_main() 173 BIO_printf(bio_err, in pkcs8_main() 234 BIO_printf(bio_err, "Error getting passwords\n"); in pkcs8_main() 251 BIO_printf(bio_err, "Error converting key\n"); in pkcs8_main() 252 ERR_print_errors(bio_err); in pkcs8_main() 264 BIO_printf(bio_err, "Bad format specified for key\n"); in pkcs8_main() 282 BIO_printf(bio_err, "Error setting PBE algorithm\n"); in pkcs8_main() 283 ERR_print_errors(bio_err); in pkcs8_main() 298 BIO_printf(bio_err, "Password required\n"); in pkcs8_main() [all …]
|
| H A D | dhparam.c | 112 BIO_printf(bio_err, "%s: Use -help for summary.\n", prog); in dhparam_main() 189 BIO_printf(bio_err, in dhparam_main() 202 BIO_printf(bio_err, "Warning, input file %s ignored\n", infile); in dhparam_main() 207 BIO_printf(bio_err, in dhparam_main() 212 EVP_PKEY_CTX_set_app_data(ctx, bio_err); in dhparam_main() 215 BIO_printf(bio_err, in dhparam_main() 221 BIO_printf(bio_err, in dhparam_main() 229 BIO_printf(bio_err, "Error, unable to set DSA prime length\n"); in dhparam_main() 234 BIO_printf(bio_err, "Error, unable to set DH prime length\n"); in dhparam_main() 238 BIO_printf(bio_err, "Error, unable to set generator\n"); in dhparam_main() [all …]
|
| H A D | cms.c | 315 BIO_printf(bio_err, "Error allocating CMS_contentinfo\n"); in load_content_info() 329 BIO_printf(bio_err, "Bad input format for %s\n", name); in load_content_info() 333 BIO_printf(bio_err, "Error reading %s Content Info\n", name); in load_content_info() 394 BIO_printf(bio_err, "%s: Use -help for summary.\n", prog); in cms_main() 593 BIO_printf(bio_err, "Invalid key (supplied twice) %s\n", in cms_main() 599 BIO_printf(bio_err, "Invalid key %s\n", opt_arg()); in cms_main() 606 BIO_printf(bio_err, "Invalid id (supplied twice) %s\n", in cms_main() 612 BIO_printf(bio_err, "Invalid id %s\n", opt_arg()); in cms_main() 622 BIO_printf(bio_err, "Invalid OID (supplied twice) %s\n", in cms_main() 628 BIO_printf(bio_err, "Invalid OID %s\n", opt_arg()); in cms_main() [all …]
|
| H A D | pkeyutl.c | 185 BIO_printf(bio_err, "%s: Use -help for summary.\n", prog); in pkeyutl_main() 292 BIO_puts(bio_err, "out of memory\n"); in pkeyutl_main() 298 BIO_puts(bio_err, "out of memory\n"); in pkeyutl_main() 323 BIO_printf(bio_err, in pkeyutl_main() 328 BIO_printf(bio_err, in pkeyutl_main() 332 BIO_printf(bio_err, in pkeyutl_main() 336 BIO_printf(bio_err, in pkeyutl_main() 343 BIO_printf(bio_err, "%s: Error loading key\n", prog); in pkeyutl_main() 348 BIO_printf(bio_err, "%s: -verifyrecover can be used only with RSA\n", prog); in pkeyutl_main() 357 BIO_printf(bio_err, in pkeyutl_main() [all …]
|
| H A D | asn1parse.c | 94 BIO_printf(bio_err, "%s: Memory allocation failure\n", prog); in asn1parse_main() 103 BIO_printf(bio_err, "%s: Use -help for summary.\n", prog); in asn1parse_main() 159 BIO_printf(bio_err, "Unknown item name %s\n", opt_arg()); in asn1parse_main() 160 BIO_puts(bio_err, "Supported types:\n"); in asn1parse_main() 165 BIO_printf(bio_err, " %s\n", it->sname); in asn1parse_main() 195 BIO_printf(bio_err, "Error reading PEM file\n"); in asn1parse_main() 196 ERR_print_errors(bio_err); in asn1parse_main() 208 ERR_print_errors(bio_err); in asn1parse_main() 250 BIO_printf(bio_err, "'%s' is out of range\n", in asn1parse_main() 261 BIO_printf(bio_err, "Error parsing structure\n"); in asn1parse_main() [all …]
|
| H A D | genpkey.c | 113 BIO_printf(bio_err, "\nThe possible -pkeyopt arguments are:\n"); in show_gen_pkeyopt() 118 BIO_printf(bio_err, " %s%s:%s\n", ishex ? "hex" : "", params[i].key, name); in show_gen_pkeyopt() 151 BIO_printf(bio_err, "%s: Use -help for summary.\n", prog); in genpkey_main() 239 BIO_printf(bio_err, "%s: Error setting %s parameter:\n", prog, p); in genpkey_main() 240 ERR_print_errors(bio_err); in genpkey_main() 247 BIO_printf(bio_err, "Cannot use cipher with -genparam option\n"); in genpkey_main() 254 BIO_puts(bio_err, "Error getting password\n"); in genpkey_main() 272 EVP_PKEY_CTX_set_app_data(ctx, bio_err); in genpkey_main() 292 BIO_printf(bio_err, "Bad format specified for key\n"); in genpkey_main() 299 BIO_puts(bio_err, "Error writing key(s)\n"); in genpkey_main() [all …]
|
| H A D | openssl.c | 46 BIO *bio_err = NULL; variable 51 BIO_printf(bio_err, "The command %s was deprecated in version %s.", in warn_deprecated() 54 BIO_printf(bio_err, "The command %s is deprecated.", fp->name); in warn_deprecated() 56 BIO_printf(bio_err, " Use '%s' instead.", fp->deprecated_alternative); in warn_deprecated() 57 BIO_printf(bio_err, "\n"); in warn_deprecated() 117 BIO_printf(bio_err, "ERROR: tracing already started\n"); in internal_trace_cb() 132 BIO_printf(bio_err, "ERROR: writing when tracing not started\n"); in internal_trace_cb() 140 BIO_printf(bio_err, "ERROR: finishing when tracing not started\n"); in internal_trace_cb() 255 bio_err = dup_bio_err(FORMAT_TEXT); in main() 270 BIO_printf(bio_err, in main() [all …]
|
| H A D | s_server.c | 151 BIO_printf(bio_err, "Error: client did not send PSK identity\n"); in psk_server_cb() 171 BIO_printf(bio_err, "Could not convert PSK key '%s' to buffer\n", in psk_server_cb() 176 BIO_printf(bio_err, in psk_server_cb() 191 BIO_printf(bio_err, "Error in PSK server callback\n"); in psk_server_cb() 192 (void)BIO_flush(bio_err); in psk_server_cb() 222 BIO_printf(bio_err, "Could not convert PSK key '%s' to buffer\n", in psk_find_session_cb() 230 BIO_printf(bio_err, "Error finding suitable ciphersuite\n"); in psk_find_session_cb() 504 BIO_puts(bio_err, "cert_status: can't parse AIA URL\n"); in get_ocsp_resp_from_responder() 508 BIO_printf(bio_err, "cert_status: AIA URL: %s\n", in get_ocsp_resp_from_responder() 512 BIO_puts(bio_err, in get_ocsp_resp_from_responder() [all …]
|
| H A D | ec.c | 104 BIO_printf(bio_err, "%s: Use -help for summary.\n", prog); in ec_main() 183 BIO_printf(bio_err, "Error getting passwords\n"); in ec_main() 187 BIO_printf(bio_err, "read EC key\n"); in ec_main() 195 BIO_printf(bio_err, "unable to load Key\n"); in ec_main() 207 BIO_printf(bio_err, "unable to set point conversion format\n"); in ec_main() 214 BIO_printf(bio_err, "unable to set asn1 encoding format\n"); in ec_main() 220 BIO_printf(bio_err, "unable to disable public key encoding\n"); in ec_main() 225 BIO_printf(bio_err, "unable to enable public key encoding\n"); in ec_main() 234 BIO_printf(bio_err, "unable to print EC key\n"); in ec_main() 242 BIO_printf(bio_err, "unable to check EC key\n"); in ec_main() [all …]
|
| H A D | ecparam.c | 129 BIO_printf(bio_err, "%s: Use -help for summary.\n", prog); in ecparam_main() 221 BIO_printf(bio_err, in ecparam_main() 225 BIO_printf(bio_err, in ecparam_main() 250 BIO_printf(bio_err, "unable to generate key\n"); in ecparam_main() 261 BIO_printf(bio_err, "Unable to load parameters from %s\n", infile); in ecparam_main() 269 BIO_printf(bio_err, "unable to set point conversion format\n"); in ecparam_main() 276 BIO_printf(bio_err, "unable to set asn1 encoding format\n"); in ecparam_main() 284 BIO_printf(bio_err, "unable to clear seed\n"); in ecparam_main() 294 BIO_printf(bio_err, "unable to print params\n"); in ecparam_main() 299 BIO_printf(bio_err, "checking elliptic curve parameters: "); in ecparam_main() [all …]
|
| H A D | dsa.c | 115 BIO_printf(bio_err, "%s: Use -help for summary.\n", prog); in dsa_main() 185 BIO_printf(bio_err, "Error getting passwords\n"); in dsa_main() 189 BIO_printf(bio_err, "read DSA key\n"); in dsa_main() 196 BIO_printf(bio_err, "unable to load Key\n"); in dsa_main() 197 ERR_print_errors(bio_err); in dsa_main() 201 BIO_printf(bio_err, "Not a DSA key\n"); in dsa_main() 214 ERR_print_errors(bio_err); in dsa_main() 223 ERR_print_errors(bio_err); in dsa_main() 236 BIO_printf(bio_err, "writing DSA key\n"); in dsa_main() 245 BIO_printf(bio_err, "PVK form impossible with public key input\n"); in dsa_main() [all …]
|
| H A D | rsa.c | 164 BIO_printf(bio_err, "%s: Use -help for summary.\n", prog); in rsa_main() 244 BIO_printf(bio_err, "Error getting passwords\n"); in rsa_main() 248 BIO_printf(bio_err, "Only private keys can be checked\n"); in rsa_main() 270 ERR_print_errors(bio_err); in rsa_main() 274 BIO_printf(bio_err, "Not an RSA key\n"); in rsa_main() 287 ERR_print_errors(bio_err); in rsa_main() 308 BIO_printf(bio_err, "RSA unable to create PKEY context\n"); in rsa_main() 309 ERR_print_errors(bio_err); in rsa_main() 318 BIO_printf(bio_err, "RSA key not ok\n"); in rsa_main() 319 ERR_print_errors(bio_err); in rsa_main() [all …]
|
| H A D | dsaparam.c | 92 BIO_printf(bio_err, "%s: Use -help for summary.\n", prog); in dsaparam_main() 164 BIO_printf(bio_err, in dsaparam_main() 170 BIO_printf(bio_err, in dsaparam_main() 175 EVP_PKEY_CTX_set_app_data(ctx, bio_err); in dsaparam_main() 178 BIO_printf(bio_err, "Generating DSA parameters, %d bit long prime\n", in dsaparam_main() 180 BIO_printf(bio_err, "This could take some time\n"); in dsaparam_main() 183 BIO_printf(bio_err, in dsaparam_main() 188 BIO_printf(bio_err, in dsaparam_main() 194 BIO_printf(bio_err, in dsaparam_main() 225 BIO_printf(bio_err, "Error, unable to write DSA parameters\n"); in dsaparam_main() [all …]
|
| /freebsd/crypto/openssl/test/ |
| H A D | bio_tfo_test.c | 107 BIO_printf(bio_err, "Error: failed without EAGAIN\n"); in test_bio_tfo() 112 BIO_printf(bio_err, "Error: accepted unknown connection\n"); in test_bio_tfo() 120 BIO_printf(bio_err, "Skip: TFO not enabled/supported for client\n"); in test_bio_tfo() 123 BIO_printf(bio_err, "Error: failed without EINPROGRESSn"); in test_bio_tfo() 131 BIO_printf(bio_err, "Error: socket wait failed\n"); in test_bio_tfo() 139 BIO_printf(bio_err, "Error: failed without EAGAIN\n"); in test_bio_tfo() 144 BIO_printf(bio_err, "Success: non-TFO connection accepted without data\n"); in test_bio_tfo() 146 …BIO_printf(bio_err, "Ignore: connection accepted before data, possibly no TFO cookie, or TFO may n… in test_bio_tfo() 148 … BIO_printf(bio_err, "Success: connection accepted before data, client TFO is disabled\n"); in test_bio_tfo() 150 … BIO_printf(bio_err, "Warning: connection accepted before data, TFO may not be enabled\n"); in test_bio_tfo() [all …]
|
| H A D | bio_prefix_text.c | 18 static BIO *bio_err = NULL; variable 67 ret = BIO_vprintf(bio_err, fmt, ap); in opt_printf_stderr() 137 BIO_free_all(bio_err); in cleanup() 151 bio_err = BIO_new_fp(stderr, BIO_NOCLOSE | BIO_FP_TEXT); in setup() 154 bio_err = BIO_push(BIO_new(BIO_f_linebuffer()), bio_err); in setup() 159 OPENSSL_assert(bio_err != NULL); in setup() 167 BIO_printf(bio_err, in setup() 173 BIO_printf(bio_err, "%s: must set up at least one filter", in setup() 178 BIO_printf(bio_err, "%s: failed setting up filter chain", in setup() 185 BIO_printf(bio_err, "%s: -i given before -n", progname); in setup() [all …]
|
| /freebsd/crypto/openssl/apps/lib/ |
| H A D | s_cb.c | 58 BIO_printf(bio_err, "depth=%d ", depth); in verify_callback() 60 X509_NAME_print_ex(bio_err, in verify_callback() 63 BIO_puts(bio_err, "\n"); in verify_callback() 65 BIO_puts(bio_err, "<no cert>\n"); in verify_callback() 69 BIO_printf(bio_err, "verify error:num=%d:%s\n", err, in verify_callback() 83 BIO_puts(bio_err, "issuer= "); in verify_callback() 84 X509_NAME_print_ex(bio_err, X509_get_issuer_name(err_cert), in verify_callback() 86 BIO_puts(bio_err, "\n"); in verify_callback() 92 BIO_printf(bio_err, "notBefore="); in verify_callback() 93 ASN1_TIME_print(bio_err, X509_get0_notBefore(err_cert)); in verify_callback() [all …]
|
| H A D | tlssrp_depr.c | 68 BIO_printf(bio_err, "SRP parameters:\n"); in ssl_srp_verify_param_cb() 69 BIO_printf(bio_err, "\tN="); in ssl_srp_verify_param_cb() 70 BN_print(bio_err, N); in ssl_srp_verify_param_cb() 71 BIO_printf(bio_err, "\n\tg="); in ssl_srp_verify_param_cb() 72 BN_print(bio_err, g); in ssl_srp_verify_param_cb() 73 BIO_printf(bio_err, "\n"); in ssl_srp_verify_param_cb() 81 BIO_printf(bio_err, in ssl_srp_verify_param_cb() 92 BIO_printf(bio_err, "SRP param N and g rejected.\n"); in ssl_srp_verify_param_cb() 108 BIO_printf(bio_err, "Can't read Password\n"); in ssl_give_srp_client_pwd_cb() 121 BIO_printf(bio_err, "Unable to set SRP username\n"); in set_up_srp_arg() [all …]
|
| H A D | apps.c | 169 BIO_printf(bio_err, "Error getting password for %s\n", desc); in get_passwd() 171 BIO_printf(bio_err, in get_passwd() 175 BIO_printf(bio_err, in get_passwd() 214 BIO_printf(bio_err, "No environment variable %s\n", arg); in app_get_pass() 223 BIO_printf(bio_err, "Can't open file %s\n", arg); in app_get_pass() 242 BIO_printf(bio_err, "Can't access file descriptor %s\n", arg); in app_get_pass() 252 BIO_printf(bio_err, "Out of memory\n"); in app_get_pass() 261 BIO_printf(bio_err, "Can't open BIO for stdin\n"); in app_get_pass() 268 BIO_printf(bio_err, in app_get_pass() 272 BIO_printf(bio_err, in app_get_pass() [all …]
|