Searched refs:peer_certs (Results 1 – 1 of 1) sorted by relevance
319 StackOfX509 peer_certs(sk_X509_new(nullptr)); in CloneSSLCerts() local320 if (!peer_certs) return StackOfX509(); in CloneSSLCerts()321 if (cert && !sk_X509_push(peer_certs.get(), cert.release())) in CloneSSLCerts()325 if (!cert || !sk_X509_push(peer_certs.get(), cert.get())) in CloneSSLCerts()330 return peer_certs; in CloneSSLCerts()336 StackOfX509&& peer_certs, in AddIssuerChainToObject() argument339 cert->reset(sk_X509_delete(peer_certs.get(), 0)); in AddIssuerChainToObject()342 for (i = 0; i < sk_X509_num(peer_certs.get()); i++) { in AddIssuerChainToObject()343 X509* ca = sk_X509_value(peer_certs.get(), i); in AddIssuerChainToObject()358 cert->reset(sk_X509_delete(peer_certs.get(), i)); in AddIssuerChainToObject()[all …]