Home
last modified time | relevance | path

Searched refs:bio (Results 1 – 2 of 2) sorted by last modified time

/unit/src/
H A Dnxt_openssl.c453 BIO *bio; local
463 bio = BIO_new(BIO_s_fd());
464 if (bio == NULL) {
470 BIO_set_fd(bio, bundle->chain_file, BIO_CLOSE);
472 cert = PEM_read_bio_X509_AUX(bio, NULL, NULL, NULL);
486 ca = PEM_read_bio_X509(bio, NULL, NULL, NULL);
513 if (BIO_reset(bio) != 0) {
517 key = PEM_read_bio_PrivateKey(bio, NULL, NULL, NULL);
537 BIO_free(bio);
H A Dnxt_cert.c60 BIO *bio; in nxt_cert_mem() local
64 if (nxt_slow_path(bio == NULL)) { in nxt_cert_mem()
69 cert = nxt_cert_bio(task, bio); in nxt_cert_mem()
71 BIO_free(bio); in nxt_cert_mem()
80 BIO *bio; in nxt_cert_fd() local
83 bio = BIO_new_fd(fd, 0); in nxt_cert_fd()
89 cert = nxt_cert_bio(task, bio); in nxt_cert_fd()
91 BIO_free(bio); in nxt_cert_fd()
494 BIO *bio; in nxt_cert_details() local
605 BIO_free(bio); in nxt_cert_details()
[all …]