rust: bssl-tls: Fix documentation Signed-off-by: Xiangfei Ding <xfding@google.com> Change-Id: Icc1e1e595f04799fd62a705960a1f5d96a6a6964 Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/99427 Reviewed-by: David Benjamin <davidben@google.com>
diff --git a/rust/bssl-tls/src/context/credentials.rs b/rust/bssl-tls/src/context/credentials.rs index c304218..69d9f27 100644 --- a/rust/bssl-tls/src/context/credentials.rs +++ b/rust/bssl-tls/src/context/credentials.rs
@@ -243,8 +243,8 @@ /// # Certificate verification, X.509 /// /// These methods require built-in X.509 support and are not available for -/// [`TlsNoX509Mode`](super::TlsNoX509Mode) or -/// [`DtlsNoX509Mode`](super::DtlsNoX509Mode). +/// [`TlsExternalVerifierMode`](super::TlsExternalVerifierMode) or +/// [`DtlsExternalVerifierMode`](super::DtlsExternalVerifierMode). impl<M> TlsContextBuilder<M> where M: super::UseBuiltinX509,
diff --git a/rust/bssl-tls/src/credentials.rs b/rust/bssl-tls/src/credentials.rs index 15a1bb7..79b3823 100644 --- a/rust/bssl-tls/src/credentials.rs +++ b/rust/bssl-tls/src/credentials.rs
@@ -621,7 +621,7 @@ /// /// This protocol allows for asynchronous signing and decryption operations. /// BoringSSL will call one of [`Self::sign`] or [`Self::decrypt`] for operation initiation, -/// and call [`Self::complete`] to poll for completion as long as +/// and call [`PrivateKeyOperation::complete`] to poll for completion as long as /// [`PrivateKeyOperationResult::Pending`] is returned. pub trait PrivateKeyDelegate: Send + Sync { /// Sign operation.