Lines Matching refs:cert
40 LOG_ERROR("Fail to create bio for cert.");
43 X509 *cert = d2i_X509_bio(mem, nullptr);
44 if (cert == nullptr) {
48 return cert;
53 X509 *cert = LoadCertFromBuffer(certBuffer.GetBuffer(), certBuffer.GetSize());
54 if (cert == nullptr) {
59 X509_free(cert);
64 if (!PEM_write_bio_X509(mem, cert)) {
77 X509_free(cert);
88 for (const ByteBuffer &cert: certChain) {
89 X509 *tmp = LoadCertFromBuffer(cert.GetBuffer(), cert.GetSize());
92 // including each cert in certs and stack of certs
95 ERR_LOG_WITH_OPEN_SSL_MSG("Push cert failed.");