• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /barrelfish-2018-10-04/lib/openssl-1.0.0d/apps/

Lines Matching defs:file

169 load_netscape_key(BIO *err, BIO *key, const char *file,
175 int args_from_file(char *file, int *argc, char **argv[])
184 fp=fopen(file,"r");
663 if(!strncmp(arg, "file:", 5)) {
666 BIO_printf(err, "Can't open file %s\n", arg + 5);
671 * Under _WIN32, which covers even Win64 and CE, file
683 BIO_printf(err, "Can't access file descriptor %s\n", arg + 3);
752 BIO_printf(err, "Error loading PKCS12 file for %s\n", desc);
774 "Mac verify error (wrong password?) in PKCS12 file for %s\n", desc);
786 X509 *load_cert(BIO *err, const char *file, int format,
798 if (file == NULL)
807 if (BIO_read_filename(cert,file) <= 0)
810 cert_descrip, file);
860 EVP_PKEY *load_key(BIO *err, const char *file, int format, int maybe_stdin,
868 cb_data.prompt_info = file;
870 if (file == NULL && (!maybe_stdin || format == FORMAT_ENGINE))
882 pkey = ENGINE_load_private_key(e, file,
899 if (file == NULL && maybe_stdin)
907 if (BIO_read_filename(key,file) <= 0)
910 key_descrip, file);
925 pkey = load_netscape_key(err, key, file, key_descrip, format);
943 BIO_printf(err,"bad input format specified for key file\n");
956 EVP_PKEY *load_pubkey(BIO *err, const char *file, int format, int maybe_stdin,
964 cb_data.prompt_info = file;
966 if (file == NULL && (!maybe_stdin || format == FORMAT_ENGINE))
977 pkey = ENGINE_load_public_key(e, file,
988 if (file == NULL && maybe_stdin)
996 if (BIO_read_filename(key,file) <= 0)
999 key_descrip, file);
1045 pkey = load_netscape_key(err, key, file, key_descrip, format);
1053 BIO_printf(err,"bad input format specified for key file\n");
1065 load_netscape_key(BIO *err, BIO *key, const char *file,
1090 key_descrip, file);
1109 static int load_certs_crls(BIO *err, const char *file, int format,
1121 cb_data.prompt_info = file;
1129 if (file == NULL)
1132 bio = BIO_new_file(file, "r");
1137 desc, file ? file : "stdin");
1208 STACK_OF(X509) *load_certs(BIO *err, const char *file, int format,
1212 load_certs_crls(err, file, format, pass, e, desc, &certs, NULL);
1216 STACK_OF(X509_CRL) *load_crls(BIO *err, const char *file, int format,
1220 load_certs_crls(err, file, format, pass, e, desc, NULL, &crls);
1427 BIO_printf(bp, "Error loading file %s\n", CAfile);
1652 BIO_printf(bio_err,"file name too long\n");
1710 BIO_printf(bio_err,"file name too long\n");
1822 "error on line %ld of db attribute file '%s'\n"
1906 BIO_printf(bio_err,"file name too long\n");
1968 BIO_printf(bio_err,"file name too long\n");