Home
last modified time | relevance | path

Searched refs:tls_reason (Results 1 – 2 of 2) sorted by relevance

/external/wpa_supplicant_8/src/tls/
Dtlsv1_server_read.c520 int tls_reason; in tls_process_certificate() local
525 tls_reason = TLS_ALERT_BAD_CERTIFICATE; in tls_process_certificate()
528 tls_reason = TLS_ALERT_UNSUPPORTED_CERTIFICATE; in tls_process_certificate()
531 tls_reason = TLS_ALERT_CERTIFICATE_REVOKED; in tls_process_certificate()
534 tls_reason = TLS_ALERT_CERTIFICATE_EXPIRED; in tls_process_certificate()
537 tls_reason = TLS_ALERT_CERTIFICATE_UNKNOWN; in tls_process_certificate()
540 tls_reason = TLS_ALERT_UNKNOWN_CA; in tls_process_certificate()
543 tls_reason = TLS_ALERT_BAD_CERTIFICATE; in tls_process_certificate()
546 tlsv1_server_alert(conn, TLS_ALERT_LEVEL_FATAL, tls_reason); in tls_process_certificate()
Dtlsv1_client_read.c561 int tls_reason; in tls_process_certificate() local
566 tls_reason = TLS_ALERT_BAD_CERTIFICATE; in tls_process_certificate()
572 tls_reason = TLS_ALERT_UNSUPPORTED_CERTIFICATE; in tls_process_certificate()
575 tls_reason = TLS_ALERT_CERTIFICATE_REVOKED; in tls_process_certificate()
581 tls_reason = TLS_ALERT_CERTIFICATE_EXPIRED; in tls_process_certificate()
587 tls_reason = TLS_ALERT_CERTIFICATE_UNKNOWN; in tls_process_certificate()
590 tls_reason = TLS_ALERT_UNKNOWN_CA; in tls_process_certificate()
596 tls_reason = TLS_ALERT_BAD_CERTIFICATE; in tls_process_certificate()
599 tls_alert(conn, TLS_ALERT_LEVEL_FATAL, tls_reason); in tls_process_certificate()