Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/wpa_supplicant/src/tls/
Dtlsv1_client_read.c371 int tls_reason; in tls_process_certificate() local
376 tls_reason = TLS_ALERT_BAD_CERTIFICATE; in tls_process_certificate()
379 tls_reason = TLS_ALERT_UNSUPPORTED_CERTIFICATE; in tls_process_certificate()
382 tls_reason = TLS_ALERT_CERTIFICATE_REVOKED; in tls_process_certificate()
385 tls_reason = TLS_ALERT_CERTIFICATE_EXPIRED; in tls_process_certificate()
388 tls_reason = TLS_ALERT_CERTIFICATE_UNKNOWN; in tls_process_certificate()
391 tls_reason = TLS_ALERT_UNKNOWN_CA; in tls_process_certificate()
394 tls_reason = TLS_ALERT_BAD_CERTIFICATE; in tls_process_certificate()
397 tls_alert(conn, TLS_ALERT_LEVEL_FATAL, tls_reason); in tls_process_certificate()
Dtlsv1_server_read.c438 int tls_reason; in tls_process_certificate() local
443 tls_reason = TLS_ALERT_BAD_CERTIFICATE; in tls_process_certificate()
446 tls_reason = TLS_ALERT_UNSUPPORTED_CERTIFICATE; in tls_process_certificate()
449 tls_reason = TLS_ALERT_CERTIFICATE_REVOKED; in tls_process_certificate()
452 tls_reason = TLS_ALERT_CERTIFICATE_EXPIRED; in tls_process_certificate()
455 tls_reason = TLS_ALERT_CERTIFICATE_UNKNOWN; in tls_process_certificate()
458 tls_reason = TLS_ALERT_UNKNOWN_CA; in tls_process_certificate()
461 tls_reason = TLS_ALERT_BAD_CERTIFICATE; in tls_process_certificate()
464 tlsv1_server_alert(conn, TLS_ALERT_LEVEL_FATAL, tls_reason); in tls_process_certificate()