Skip to content

Commit

Permalink
Revert "tls.c: need to free SSL_SESSION when removing it from cache"
Browse files Browse the repository at this point in the history
This reverts commit a3523d4.

cyrusimap#4785
  • Loading branch information
dilyanpalauzov committed Feb 25, 2024
1 parent 80606b3 commit 0840940
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion imap/tls.c
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,6 @@ static void remove_session_cb(SSL_CTX *ctx __attribute__((unused)),
session_id = SSL_SESSION_get_id(sess, &session_id_length);

remove_session(session_id, session_id_length);
SSL_SESSION_free(sess);
}

/*
Expand Down

0 comments on commit 0840940

Please sign in to comment.