net.openssl: fix typos in comments (#11988)

pull/11991/head
czkz 2021-09-26 22:33:10 +03:00 committed by GitHub
parent 6a2ef733de
commit 6967a47e07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ enum Select {
except
}
// shutdown closes the ssl connection and do clean up
// shutdown closes the ssl connection and does cleanup
pub fn (mut s SSLConn) shutdown() ? {
if s.ssl != 0 {
mut res := 0
@ -81,7 +81,7 @@ pub fn (mut s SSLConn) shutdown() ? {
}
}
// connect to server using open ssl
// connect to server using OpenSSL
pub fn (mut s SSLConn) connect(mut tcp_conn net.TcpConn, hostname string) ? {
s.handle = tcp_conn.sock.handle
s.duration = tcp_conn.read_timeout()