commit | 68dbc0f4315b868267dc668acd7a27d8fa3e21ce | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Tue Mar 12 11:53:01 2024 +0100 |
committer | Michal Vasko <mvasko@cesnet.cz> | Tue Mar 12 11:53:01 2024 +0100 |
tree | ec8885dbb86e2d0f5778a136ee5ca7ea3a2eeae2 | |
parent | 91cc6669a1b3fe9946eb49bd68f771df2ff6963b [diff] |
session server REFACTOR uninitialized var
diff --git a/src/session_server_tls.c b/src/session_server_tls.c index 1649588..1760549 100644 --- a/src/session_server_tls.c +++ b/src/session_server_tls.c
@@ -1326,7 +1326,7 @@ SSL_CTX *tls_ctx; int ret; struct timespec ts_timeout; - struct nc_endpt *referenced_endpt; + struct nc_endpt *referenced_endpt = NULL; /* SSL_CTX */ tls_ctx = SSL_CTX_new(TLS_server_method());