Searched refs:tls_reason (Results 1 – 2 of 2) sorted by relevance
520 int tls_reason; in tls_process_certificate() local525 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()
561 int tls_reason; in tls_process_certificate() local566 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()