Lines Matching refs:cert
111 struct x509_certificate *cert, in tls_process_ocsp_single_response() argument
224 if (serial_number_len != cert->serial_number_len || in tls_process_ocsp_single_response()
225 os_memcmp(serial_number, cert->serial_number, in tls_process_ocsp_single_response()
312 struct x509_certificate *cert, in tls_process_ocsp_responses() argument
330 if (tls_process_ocsp_single_response(conn, cert, issuer, in tls_process_ocsp_responses()
436 struct x509_certificate *cert; in tls_process_basic_ocsp_response() local
445 cert = x509_certificate_parse(hdr.payload, hdr.length); in tls_process_basic_ocsp_response()
446 if (!cert) in tls_process_basic_ocsp_response()
449 last_cert->next = cert; in tls_process_basic_ocsp_response()
450 last_cert = cert; in tls_process_basic_ocsp_response()
452 last_cert = certs = cert; in tls_process_basic_ocsp_response()
656 struct x509_certificate *cert; in tls_process_ocsp_response() local
738 cert = conn->server_cert; in tls_process_ocsp_response()
739 while (cert) { in tls_process_ocsp_response()
740 if (!cert->ocsp_good && !cert->ocsp_revoked) { in tls_process_ocsp_response()
743 x509_name_string(&cert->subject, sbuf, sizeof(sbuf)); in tls_process_ocsp_response()
748 res = tls_process_basic_ocsp_response(conn, cert, in tls_process_ocsp_response()
751 if (cert == conn->server_cert) in tls_process_ocsp_response()
754 if (res == TLS_OCSP_REVOKED || cert->issuer_trusted) in tls_process_ocsp_response()
756 cert = cert->next; in tls_process_ocsp_response()