rust: bssl-tls: Properly annotate sections of configuration options Signed-off-by: Xiangfei Ding <xfding@google.com> Change-Id: Ifdb3ad8dc7ae939923bfa69b8e1396dc6a6a6964 Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/97587 Reviewed-by: Adam Langley <agl@google.com>
diff --git a/rust/bssl-tls/src/connection/credentials.rs b/rust/bssl-tls/src/connection/credentials.rs index 6be1ef6..b2cca82 100644 --- a/rust/bssl-tls/src/connection/credentials.rs +++ b/rust/bssl-tls/src/connection/credentials.rs
@@ -211,7 +211,7 @@ } } -/// # Certificate verification +/// # Certificate verification - Signed Certificate Timestamps impl<M> TlsConnectionInHandshake<'_, Client, M> { /// Enable signed certificate timestamps. /// @@ -228,7 +228,7 @@ } } -/// # Certificate verification +/// # Certificate verification - X.509 Certificate Store impl<M> TlsConnectionInHandshake<'_, Client, M> { /// Set certificate verification store. pub fn set_certificate_store(&mut self, store: &X509Store) -> &mut Self { @@ -267,7 +267,7 @@ } } -/// # Certificate verification. +/// # Certificate verification - Server Host Name impl<M> TlsConnectionInHandshake<'_, Client, M> { /// Set host name. pub fn set_host(&mut self, host_name: &str) -> Result<&mut Self, Error> { @@ -283,7 +283,7 @@ } } -/// # Certificate verification. +/// # Certificate verification - Certificate Chain Verification impl<R, M> TlsConnectionInHandshake<'_, R, M> { /// Set depth of a potential certificate chain acceptable. pub fn set_verify_depth(&mut self, depth: u16) -> Result<&mut Self, Error> {