Lines Matching refs:cert
62 cert_t *cert = NULL; local
119 cert = oakley_newcert();
120 if (cert == NULL) {
125 cert->pl = vmalloc(res->ci_certlen + 1);
126 if (cert->pl == NULL) {
131 memcpy(cert->pl->v + 1, res->ci_cert, res->ci_certlen);
132 cert->pl->v[0] = type;
133 cert->cert.v = cert->pl->v + 1;
134 cert->cert.l = cert->pl->l - 1;
137 plogdump(LLV_DEBUG, cert->pl->v, cert->pl->l);
143 return cert;
148 if (cert) {
149 oakley_delcert(cert);
150 cert = NULL;