mirror of https://github.com/ctz/rustls
doc: fix outdated documentation
This commit is contained in:
parent
f7c12c02c0
commit
8a72972425
|
@ -149,7 +149,7 @@ pub trait ClientCertVerifier: Debug + Send + Sync {
|
|||
|
||||
/// Return `true` to require a client certificate and `false` to make
|
||||
/// client authentication optional.
|
||||
/// Defaults to `Some(self.offer_client_auth())`.
|
||||
/// Defaults to `self.offer_client_auth()`.
|
||||
fn client_auth_mandatory(&self) -> bool {
|
||||
self.offer_client_auth()
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue