Skip to content

Commit

Permalink
session server REFACTOR uninitialized var
Browse files Browse the repository at this point in the history
  • Loading branch information
michalvasko committed Mar 12, 2024
1 parent 91cc666 commit 68dbc0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/session_server_tls.c
Original file line number Diff line number Diff line change
Expand Up @@ -1326,7 +1326,7 @@ nc_accept_tls_session(struct nc_session *session, struct nc_server_tls_opts *opt
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());
Expand Down

0 comments on commit 68dbc0f

Please sign in to comment.