mirror of https://github.com/ctz/rustls
docs: fix broken link in ClientCertVerifier docs. (#1270)
Previously the `ClientCertVerifier` rust docs had a broken link to the `Error::InvalidCertificate(CertificateError::BadEncoding)` type. This commit breaks up the link into two parts, one for the `Error::InvalidCertificate` variant and one for the `CertificateError::BadEncoding` variant.
This commit is contained in:
parent
b0d5766a25
commit
5c81497d79
|
@ -264,7 +264,10 @@ pub trait ClientCertVerifier: Send + Sync {
|
|||
///
|
||||
/// Note that none of the certificates have been parsed yet, so it is the responsibility of
|
||||
/// the implementor to handle invalid data. It is recommended that the implementor returns
|
||||
/// [`Error::InvalidCertificate(CertificateError::BadEncoding)`] when these cases are encountered.
|
||||
/// an [InvalidCertificate] error with the [BadEncoding] variant when these cases are encountered.
|
||||
///
|
||||
/// [InvalidCertificate]: Error#variant.InvalidCertificate
|
||||
/// [BadEncoding]: CertificateError#variant.BadEncoding
|
||||
fn verify_client_cert(
|
||||
&self,
|
||||
end_entity: &Certificate,
|
||||
|
|
Loading…
Reference in New Issue