Lines Matching refs:FILE
169 load_netscape_key(BIO *err, BIO *key, const char *file,
175 int args_from_file(char *file, int *argc, char **argv[])
177 FILE *fp;
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)
809 if (BIO_read_filename(cert,file) <= 0)
812 cert_descrip, file);
862 EVP_PKEY *load_key(BIO *err, const char *file, int format, int maybe_stdin,
870 cb_data.prompt_info = file;
872 if (file == NULL && (!maybe_stdin || format == FORMAT_ENGINE))
884 pkey = ENGINE_load_private_key(e, file,
901 if (file == NULL && maybe_stdin)
911 if (BIO_read_filename(key,file) <= 0)
914 key_descrip, file);
929 pkey = load_netscape_key(err, key, file, key_descrip, format);
947 BIO_printf(err,"bad input format specified for key file\n");
960 EVP_PKEY *load_pubkey(BIO *err, const char *file, int format, int maybe_stdin,
968 cb_data.prompt_info = file;
970 if (file == NULL && (!maybe_stdin || format == FORMAT_ENGINE))
981 pkey = ENGINE_load_public_key(e, file,
992 if (file == NULL && maybe_stdin)
1002 if (BIO_read_filename(key,file) <= 0)
1005 key_descrip, file);
1051 pkey = load_netscape_key(err, key, file, key_descrip, format);
1059 BIO_printf(err,"bad input format specified for key file\n");
1071 load_netscape_key(BIO *err, BIO *key, const char *file,
1096 key_descrip, file);
1115 static int load_certs_crls(BIO *err, const char *file, int format,
1127 cb_data.prompt_info = file;
1135 if (file == NULL)
1138 bio = BIO_new_file(file, "r");
1143 desc, file ? file : "stdin");
1214 STACK_OF(X509) *load_certs(BIO *err, const char *file, int format,
1218 if (!load_certs_crls(err, file, format, pass, e, desc, &certs, NULL))
1223 STACK_OF(X509_CRL) *load_crls(BIO *err, const char *file, int format,
1227 if (!load_certs_crls(err, file, format, pass, e, desc, NULL, &crls))
1435 BIO_printf(bp, "Error loading file %s\n", CAfile);
1660 BIO_printf(bio_err,"file name too long\n");
1718 BIO_printf(bio_err,"file name too long\n");
1830 "error on line %ld of db attribute file '%s'\n"
1914 BIO_printf(bio_err,"file name too long\n");
1976 BIO_printf(bio_err,"file name too long\n");