Lines Matching refs:biobuf
924 BIO *biobuf = NULL; in _get_peer_alt_names() local
939 biobuf = BIO_new(BIO_s_mem()); in _get_peer_alt_names()
1087 (void) BIO_reset(biobuf); in _get_peer_alt_names()
1088 GENERAL_NAME_print(biobuf, name); in _get_peer_alt_names()
1089 len = BIO_gets(biobuf, buf, sizeof(buf)-1); in _get_peer_alt_names()
1129 BIO_free(biobuf); in _get_peer_alt_names()
1140 if (biobuf != NULL) in _get_peer_alt_names()
1141 BIO_free(biobuf); in _get_peer_alt_names()
1265 BIO *biobuf = NULL; in _decode_certificate() local
1312 biobuf = BIO_new(BIO_s_mem()); in _decode_certificate()
1314 (void) BIO_reset(biobuf); in _decode_certificate()
1317 i2a_ASN1_INTEGER(biobuf, serialNumber); in _decode_certificate()
1318 len = BIO_gets(biobuf, buf, sizeof(buf)-1); in _decode_certificate()
1332 (void) BIO_reset(biobuf); in _decode_certificate()
1334 ASN1_TIME_print(biobuf, notBefore); in _decode_certificate()
1335 len = BIO_gets(biobuf, buf, sizeof(buf)-1); in _decode_certificate()
1349 (void) BIO_reset(biobuf); in _decode_certificate()
1351 ASN1_TIME_print(biobuf, notAfter); in _decode_certificate()
1352 len = BIO_gets(biobuf, buf, sizeof(buf)-1); in _decode_certificate()
1415 BIO_free(biobuf); in _decode_certificate()
1419 if (biobuf != NULL) in _decode_certificate()
1420 BIO_free(biobuf); in _decode_certificate()
2833 BIO *biobuf = NULL; in _add_ca_certs() local
2849 biobuf = BIO_new_mem_buf(data, (int)len); in _add_ca_certs()
2850 if (biobuf == NULL) { in _add_ca_certs()
2863 cert = d2i_X509_bio(biobuf, NULL); in _add_ca_certs()
2865 cert = PEM_read_bio_X509(biobuf, NULL, in _add_ca_certs()
2908 BIO_free(biobuf); in _add_ca_certs()