Searched refs:certbio (Results 1 – 3 of 3) sorted by relevance
/freebsd/crypto/openssl/test/ |
H A D | ocspapitest.c | 27 BIO *certbio, *keybio; in get_cert_and_key() local 31 if (!TEST_ptr(certbio = BIO_new_file(certstr, "r"))) in get_cert_and_key() 33 cert = PEM_read_bio_X509(certbio, NULL, NULL, NULL); in get_cert_and_key() 34 BIO_free(certbio); in get_cert_and_key() 52 BIO *certbio; in get_cert() local 55 if (!TEST_ptr(certbio = BIO_new_file(certstr, "r"))) in get_cert() 57 cert = PEM_read_bio_X509(certbio, NULL, NULL, NULL); in get_cert() 58 BIO_free(certbio); in get_cert()
|
H A D | cmsapitest.c | 364 BIO *certbio = NULL, *privkeybio = NULL; in setup_tests() local 376 certbio = BIO_new_file(certin, "r"); in setup_tests() 377 if (!TEST_ptr(certbio)) in setup_tests() 379 if (!TEST_true(PEM_read_bio_X509(certbio, &cert, NULL, NULL))) { in setup_tests() 380 BIO_free(certbio); in setup_tests() 383 BIO_free(certbio); in setup_tests()
|
H A D | sslapitest.c | 953 BIO *certbio = NULL; in add_large_cert_chain() local 959 if (!TEST_ptr(certbio = BIO_new_file(cert, "r"))) in add_large_cert_chain() 965 if (PEM_read_bio_X509(certbio, &chaincert, NULL, NULL) == NULL) in add_large_cert_chain() 967 BIO_free(certbio); in add_large_cert_chain() 968 certbio = NULL; in add_large_cert_chain() 991 BIO_free(certbio); in add_large_cert_chain() 1879 BIO *certbio = NULL; in test_tlsext_status_type() local 1964 if (!TEST_ptr(certbio = BIO_new_file(cert, "r")) in test_tlsext_status_type() 1968 || !TEST_ptr(PEM_read_bio_X509(certbio, &ocspcert, NULL, NULL)) in test_tlsext_status_type() 1977 BIO_free(certbio); in test_tlsext_status_type() [all …]
|