Searched refs:certbio (Results 1 – 4 of 4) sorted by relevance
/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 | 393 BIO *certbio = NULL, *privkeybio = NULL; in setup_tests() local 405 certbio = BIO_new_file(certin, "r"); in setup_tests() 406 if (!TEST_ptr(certbio)) in setup_tests() 408 if (!TEST_true(PEM_read_bio_X509(certbio, &cert, NULL, NULL))) { in setup_tests() 409 BIO_free(certbio); in setup_tests() 412 BIO_free(certbio); in setup_tests()
|
H A D | sslapitest.c | 1903 BIO *certbio = NULL; in test_tlsext_status_type() local 1992 if (!TEST_ptr(certbio = BIO_new_file(cert, "r")) in test_tlsext_status_type() 1996 || !TEST_ptr(PEM_read_bio_X509(certbio, &ocspcert, NULL, NULL)) in test_tlsext_status_type() 2005 BIO_free(certbio); in test_tlsext_status_type() 2006 certbio = NULL; in test_tlsext_status_type() 2023 BIO_free(certbio); in test_tlsext_status_type() 10043 BIO *keybio = NULL, *certbio = NULL; in create_cert_key() local 10066 || !TEST_ptr(certbio = BIO_new_file(certfilename, "wb")) in create_cert_key() 10067 || !TEST_true(PEM_write_bio_X509(certbio, x509))) in create_cert_key() 10074 BIO_free(certbio); in create_cert_key()
|
/openssl/test/helpers/ |
H A D | ssltestlib.c | 1422 BIO *certbio = NULL; in ssl_ctx_add_large_cert_chain() local 1428 if (!TEST_ptr(certbio = BIO_new_file(cert_file, "r"))) in ssl_ctx_add_large_cert_chain() 1434 if (PEM_read_bio_X509(certbio, &chaincert, NULL, NULL) == NULL) in ssl_ctx_add_large_cert_chain() 1436 BIO_free(certbio); in ssl_ctx_add_large_cert_chain() 1437 certbio = NULL; in ssl_ctx_add_large_cert_chain() 1460 BIO_free(certbio); in ssl_ctx_add_large_cert_chain()
|
Completed in 60 milliseconds