Skip to content

Commit

Permalink
Update quinn-proto/src/crypto/rustls.rs
Browse files Browse the repository at this point in the history
Co-Authored-By: Demi Obenour <[email protected]>
  • Loading branch information
djc and Demi-Marie authored Feb 26, 2020
1 parent f66c924 commit 23bdbc6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion quinn-proto/src/crypto/rustls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,10 @@ pub struct AuthenticationData {
/// For clients, this is the certificate chain of the server. For servers, this is the
/// certificate chain of the client, if client authentication was completed.
///
/// None if this data was requested from the session before this value is available.
/// `None` if this data was requested from the session before this value is available.
///
/// If this returns `None`, and `Connection::is_handshaking` returns `false`, the connection
/// will have already been closed.
pub peer_certificates: Option<CertificateChain>,
/// The negotiated application protocol
pub protocol: Option<Vec<u8>>,
Expand Down

0 comments on commit 23bdbc6

Please sign in to comment.