CertificateVerificationError is returned when certificate verification fails during the handshake.
| 1755 | |
| 1756 | // CertificateVerificationError is returned when certificate verification fails during the handshake. |
| 1757 | type CertificateVerificationError struct { |
| 1758 | // UnverifiedCertificates and its contents should not be modified. |
| 1759 | UnverifiedCertificates []*x509.Certificate |
| 1760 | Err error |
| 1761 | } |
| 1762 | |
| 1763 | func (e *CertificateVerificationError) Error() string { |
| 1764 | return fmt.Sprintf("tls: failed to verify certificate: %s", e.Err) |
nothing calls this directly
no outgoing calls
no test coverage detected