Lines Matching refs:file
52 const char *file; in by_file_ctrl_ex() local
57 file = ossl_safe_getenv(X509_get_default_cert_file_env()); in by_file_ctrl_ex()
58 if (file) in by_file_ctrl_ex()
59 ok = (X509_load_cert_crl_file_ex(ctx, file, X509_FILETYPE_PEM, in by_file_ctrl_ex()
87 int X509_load_cert_file_ex(X509_LOOKUP *ctx, const char *file, int type, in X509_load_cert_file_ex() argument
94 if (file == NULL) { in X509_load_cert_file_ex()
101 if ((in == NULL) || (BIO_read_filename(in, file) <= 0)) { in X509_load_cert_file_ex()
165 int X509_load_cert_file(X509_LOOKUP *ctx, const char *file, int type) in X509_load_cert_file() argument
167 return X509_load_cert_file_ex(ctx, file, type, NULL, NULL); in X509_load_cert_file()
170 int X509_load_crl_file(X509_LOOKUP *ctx, const char *file, int type) in X509_load_crl_file() argument
176 if (file == NULL) { in X509_load_crl_file()
183 if ((in == NULL) || (BIO_read_filename(in, file) <= 0)) { in X509_load_crl_file()
231 int X509_load_cert_crl_file_ex(X509_LOOKUP *ctx, const char *file, int type, in X509_load_cert_crl_file_ex() argument
240 return X509_load_cert_file_ex(ctx, file, type, libctx, propq); in X509_load_cert_crl_file_ex()
241 in = BIO_new_file(file, "r"); in X509_load_cert_crl_file_ex()
276 int X509_load_cert_crl_file(X509_LOOKUP *ctx, const char *file, int type) in X509_load_cert_crl_file() argument
278 return X509_load_cert_crl_file_ex(ctx, file, type, NULL, NULL); in X509_load_cert_crl_file()