d2i_X509
ret = d2i_X509(NULL, pp, length);
d2i = (D2I_OF(void))d2i_X509;
return PEM_ASN1_read((d2i_of_void *)d2i_X509, PEM_STRING_X509, fp,
return PEM_ASN1_read_bio((d2i_of_void *)d2i_X509, PEM_STRING_X509, bp,
X509 *d2i_X509(X509 **a, const unsigned char **in, long len);
if (d2i_X509(&s->peer_cert, &peer_cert_bytes,
if ((cert = d2i_X509(NULL, &p, CBS_len(&cert_data))) == NULL) {
x = d2i_X509(NULL, &d, (long)len);
x = d2i_X509(NULL, &d, (long)len);
if ((cert = d2i_X509(NULL, &p, CBS_len(&cert_data))) == NULL) {
if ((cert = d2i_X509(NULL, &p, CBS_len(&cert_data))) == NULL)
if ((cert = d2i_X509(NULL, &p, CBS_len(&cert_data))) == NULL)
if ((x509 = d2i_X509(NULL, &cp, cert_attr[2].ulValueLen)) == NULL) {