Lines Matching refs:biobuf
1307 BIO *biobuf = NULL; in _get_peer_alt_names() local
1316 biobuf = BIO_new(BIO_s_mem()); in _get_peer_alt_names()
1317 if (biobuf == NULL) { in _get_peer_alt_names()
1493 (void) BIO_reset(biobuf); in _get_peer_alt_names()
1494 GENERAL_NAME_print(biobuf, name); in _get_peer_alt_names()
1495 len = BIO_gets(biobuf, buf, sizeof(buf)-1); in _get_peer_alt_names()
1536 BIO_free(biobuf); in _get_peer_alt_names()
1547 if (biobuf != NULL) in _get_peer_alt_names()
1548 BIO_free(biobuf); in _get_peer_alt_names()
1676 BIO *biobuf = NULL; in _decode_certificate() local
1723 biobuf = BIO_new(BIO_s_mem()); in _decode_certificate()
1724 if (biobuf == NULL) { in _decode_certificate()
1729 (void) BIO_reset(biobuf); in _decode_certificate()
1732 i2a_ASN1_INTEGER(biobuf, serialNumber); in _decode_certificate()
1733 len = BIO_gets(biobuf, buf, sizeof(buf)-1); in _decode_certificate()
1747 (void) BIO_reset(biobuf); in _decode_certificate()
1749 ASN1_TIME_print(biobuf, notBefore); in _decode_certificate()
1750 len = BIO_gets(biobuf, buf, sizeof(buf)-1); in _decode_certificate()
1764 (void) BIO_reset(biobuf); in _decode_certificate()
1766 ASN1_TIME_print(biobuf, notAfter); in _decode_certificate()
1767 len = BIO_gets(biobuf, buf, sizeof(buf)-1); in _decode_certificate()
1830 BIO_free(biobuf); in _decode_certificate()
1834 if (biobuf != NULL) in _decode_certificate()
1835 BIO_free(biobuf); in _decode_certificate()
4074 BIO *biobuf = NULL; in _add_ca_certs() local
4090 biobuf = BIO_new_mem_buf(data, (int)len); in _add_ca_certs()
4091 if (biobuf == NULL) { in _add_ca_certs()
4104 cert = d2i_X509_bio(biobuf, NULL); in _add_ca_certs()
4106 cert = PEM_read_bio_X509(biobuf, NULL, in _add_ca_certs()
4149 BIO_free(biobuf); in _add_ca_certs()