We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b55868 commit 2f2c7c8Copy full SHA for 2f2c7c8
src/imp/security_framework.rs
@@ -390,6 +390,7 @@ impl<S: io::Read + io::Write> TlsStream<S> {
390
Ok(self.stream.context().buffered_read_size()?)
391
}
392
393
+ #[allow(deprecated)]
394
pub fn peer_certificate(&self) -> Result<Option<Certificate>, Error> {
395
let trust = match self.stream.context().peer_trust2()? {
396
Some(trust) => trust,
0 commit comments