aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/tlsopenssl/tls_openssl.h
diff options
context:
space:
mode:
authorBrian Morris <bmorris2@cisco.com>2023-10-11 17:36:59 +0000
committerFlorin Coras <florin.coras@gmail.com>2023-10-11 20:12:50 +0000
commit733e093e7099552a4609dc5efadf9261df7778d4 (patch)
tree6381f6cbb0ba0d866a51e7a83dcf3c5b60c49830 /src/plugins/tlsopenssl/tls_openssl.h
parent9eaf377a386473a0798966560062a10ae932204d (diff)
tls: Fix SSL_CTX leak on every client session
Type: fix Change-Id: I35b3920288269073cdd35f79c938396128d169c9 Signed-off-by: Brian Morris <bmorris2@cisco.com>
Diffstat (limited to 'src/plugins/tlsopenssl/tls_openssl.h')
-rw-r--r--src/plugins/tlsopenssl/tls_openssl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/tlsopenssl/tls_openssl.h b/src/plugins/tlsopenssl/tls_openssl.h
index a4beecc8ec1..1600cd77aba 100644
--- a/src/plugins/tlsopenssl/tls_openssl.h
+++ b/src/plugins/tlsopenssl/tls_openssl.h
@@ -33,7 +33,7 @@ typedef struct tls_ctx_openssl_
{
tls_ctx_t ctx; /**< First */
u32 openssl_ctx_index;
- SSL_CTX *ssl_ctx;
+ SSL_CTX *client_ssl_ctx;
SSL *ssl;
BIO *rbio;
BIO *wbio;