Lines Matching defs:file
5 * this file except in compliance with the License. You can obtain a copy
6 * in the file LICENSE in the source distribution or at
18 X509 *load_cert_pem(const char *file, OSSL_LIB_CTX *libctx)
23 if (!TEST_ptr(file) || !TEST_ptr(bio = BIO_new(BIO_s_file())))
25 if (TEST_int_gt(BIO_read_filename(bio, file), 0)
33 STACK_OF(X509) *load_certs_pem(const char *file)
39 if (!TEST_ptr(file) || (bio = BIO_new_file(file, "r")) == NULL)
69 EVP_PKEY *load_pkey_pem(const char *file, OSSL_LIB_CTX *libctx)
74 if (!TEST_ptr(file) || !TEST_ptr(bio = BIO_new(BIO_s_file())))
76 if (TEST_int_gt(BIO_read_filename(bio, file), 0)) {
92 X509_REQ *load_csr_der(const char *file, OSSL_LIB_CTX *libctx)
97 if (!TEST_ptr(file) || !TEST_ptr(bio = BIO_new_file(file, "rb")))