update comment

This commit is contained in:
yggverse 2024-11-30 04:18:31 +02:00
parent 873489df29
commit 9e3176ca00

View file

@ -79,8 +79,8 @@ impl Session {
// Tools // Tools
// Applies re-handshake to `Connection` to prevent default session resumption /// Applies re-handshake to `Connection`
// on user certificate change in runtime /// to prevent default session resumption on user certificate change in runtime
pub fn rehandshake(connection: &Connection) { pub fn rehandshake(connection: &Connection) {
if let Err(e) = connection.rehandshake() { if let Err(e) = connection.rehandshake() {
println!("warning: {e}"); // @TODO keep in mind until solution for TLS 1.3 println!("warning: {e}"); // @TODO keep in mind until solution for TLS 1.3