Searched refs:tls_reason (Results 1 – 2 of 2) sorted by relevance
371 int tls_reason; in tls_process_certificate() local376 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()
438 int tls_reason; in tls_process_certificate() local443 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()