Lines Matching refs:desc

211 char *get_passwd(const char *pass, const char *desc)  in get_passwd()  argument
215 if (desc == NULL) in get_passwd()
216 desc = "<unknown>"; in get_passwd()
218 BIO_printf(bio_err, "Error getting password for %s\n", desc); in get_passwd()
225 "Out of memory getting password for %s\n", desc); in get_passwd()
485 const char *pass, const char *desc) in load_cert_pass() argument
489 if (desc == NULL) in load_cert_pass()
490 desc = "certificate"; in load_cert_pass()
492 BIO_printf(bio_err, "Loading %s over HTTPS is unsupported\n", desc); in load_cert_pass()
497 BIO_printf(bio_err, "Unable to load %s from %s\n", desc, uri); in load_cert_pass()
500 (void)load_key_certs_crls(uri, format, maybe_stdin, pass, desc, 0, in load_cert_pass()
507 const char *desc) in load_crl() argument
511 if (desc == NULL) in load_crl()
512 desc = "CRL"; in load_crl()
514 BIO_printf(bio_err, "Loading %s over HTTPS is unsupported\n", desc); in load_crl()
519 BIO_printf(bio_err, "Unable to load %s from %s\n", desc, uri); in load_crl()
522 (void)load_key_certs_crls(uri, format, maybe_stdin, NULL, desc, 0, in load_crl()
529 X509_REQ *load_csr(const char *file, int format, const char *desc) in load_csr() argument
550 if (desc != NULL) in load_csr()
551 BIO_printf(bio_err, "Unable to load %s\n", desc); in load_csr()
559 STACK_OF(OPENSSL_STRING) *vfyopts, const char *desc) in load_csr_autofmt() argument
564 csr = load_csr(infile, format, desc); in load_csr_autofmt()
577 desc, infile); in load_csr_autofmt()
606 const char *pass, ENGINE *e, const char *desc) in load_key() argument
611 if (desc == NULL) in load_key()
612 desc = "private key"; in load_key()
615 uri = allocated_uri = make_engine_uri(e, uri, desc); in load_key()
616 (void)load_key_certs_crls(uri, format, may_stdin, pass, desc, 0, in load_key()
625 const char *pass, ENGINE *e, const char *desc) in load_pubkey() argument
630 if (desc == NULL) in load_pubkey()
631 desc = "public key"; in load_pubkey()
634 uri = allocated_uri = make_engine_uri(e, uri, desc); in load_pubkey()
635 (void)load_key_certs_crls(uri, format, maybe_stdin, pass, desc, 1, in load_pubkey()
638 (void)load_key_certs_crls(uri, format, maybe_stdin, pass, desc, 0, in load_pubkey()
645 const char *keytype, const char *desc, in load_keyparams_suppress() argument
650 if (desc == NULL) in load_keyparams_suppress()
651 desc = "key parameters"; in load_keyparams_suppress()
652 (void)load_key_certs_crls(uri, format, maybe_stdin, NULL, desc, in load_keyparams_suppress()
659 desc, uri); in load_keyparams_suppress()
667 const char *keytype, const char *desc) in load_keyparams() argument
669 return load_keyparams_suppress(uri, format, maybe_stdin, keytype, desc, 0); in load_keyparams()
741 int exclude_http, const char *pass, const char *desc, in load_cert_certs() argument
747 if (desc == NULL) in load_cert_certs()
748 desc = pcerts == NULL ? "certificate" : "certificates"; in load_cert_certs()
751 BIO_printf(bio_err, "error: HTTP retrieval not allowed for %s\n", desc); in load_cert_certs()
754 pass_string = get_passwd(pass, desc); in load_cert_certs()
755 ret = load_key_certs_crls(uri, FORMAT_UNDEF, 0, pass_string, desc, 0, in load_cert_certs()
774 const char *desc, X509_VERIFY_PARAM *vpm) in STACK_OF()
787 if (!load_cert_certs(files, NULL, &certs, 0, pass, desc, vpm)) in STACK_OF()
828 X509_STORE *load_certstore(char *input, const char *pass, const char *desc, in load_certstore() argument
838 if (!load_cert_certs(input, NULL, &certs, 1, pass, desc, vpm)) { in load_certstore()
857 const char *pass, const char *desc) in load_certs() argument
861 if (desc == NULL) in load_certs()
862 desc = "certificates"; in load_certs()
863 ret = load_key_certs_crls(uri, FORMAT_UNDEF, maybe_stdin, pass, desc, 0, in load_certs()
878 const char *pass, const char *desc) in load_crls() argument
882 if (desc == NULL) in load_crls()
883 desc = "CRLs"; in load_crls()
884 ret = load_key_certs_crls(uri, FORMAT_UNDEF, 0, pass, desc, 0, in load_crls()
935 const char *pass, const char *desc, int quiet, in load_key_certs_crls() argument
1145 if (desc != NULL && strstr(desc, failed) != NULL) { in load_key_certs_crls()
1146 BIO_printf(bio_err, " %s", desc); in load_key_certs_crls()
1149 if (desc != NULL) in load_key_certs_crls()
1150 BIO_printf(bio_err, " of %s", desc); in load_key_certs_crls()
1943 const char *desc) in parse_name() argument
1954 opt_getprog(), desc, --cp); in parse_name()
1966 opt_getprog(), desc); in parse_name()
1986 opt_getprog(), typestr, desc); in parse_name()
2002 opt_getprog(), desc); in parse_name()
2017 opt_getprog(), desc, typestr); in parse_name()
2027 opt_getprog(), desc, typestr); in parse_name()
2036 opt_getprog(), desc, typestr, valstr); in parse_name()
3295 int check_cert_time_string(const char *time, const char *desc) in check_cert_time_string() argument
3302 desc); in check_cert_time_string()