Lines Matching refs:cert
31 struct x509_certificate *cert;
36 cert = conn->cred->cert;
37 while (cert) {
38 len += 3 + cert->cert_len;
39 if (x509_certificate_self_signed(cert))
41 cert = x509_certificate_get_subject(conn->cred->trusted_certs,
42 &cert->issuer);
137 struct x509_certificate *cert;
158 cert = conn->cred ? conn->cred->cert : NULL;
159 while (cert) {
160 if (pos + 3 + cert->cert_len > end) {
163 (unsigned long) cert->cert_len,
169 WPA_PUT_BE24(pos, cert->cert_len);
171 os_memcpy(pos, cert->cert_start, cert->cert_len);
172 pos += cert->cert_len;
174 if (x509_certificate_self_signed(cert))
176 cert = x509_certificate_get_subject(conn->cred->trusted_certs,
177 &cert->issuer);
179 if (conn->cred == NULL || cert == conn->cred->cert || cert == NULL) {