Skip to content

Commit

Permalink
net.openssl: correctly assign nil to reference values after the recen…
Browse files Browse the repository at this point in the history
…t notice about it (#19981)
  • Loading branch information
kimshrier committed Nov 24, 2023
1 parent eeb8d27 commit be544d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vlib/net/openssl/ssl_connection.c.v
Expand Up @@ -34,8 +34,8 @@ pub fn new_ssl_conn(config SSLConnectConfig) !&SSLConn {
}
mut conn := &SSLConn{
config: config
sslctx: 0
ssl: 0
sslctx: unsafe { nil }
ssl: unsafe { nil }
handle: 0
}
conn.init() or { return err }
Expand Down

0 comments on commit be544d7

Please sign in to comment.