summaryrefslogtreecommitdiffstats
path: root/src/plugins/tlsopenssl/tls_openssl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/tlsopenssl/tls_openssl.h')
-rw-r--r--src/plugins/tlsopenssl/tls_openssl.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/plugins/tlsopenssl/tls_openssl.h b/src/plugins/tlsopenssl/tls_openssl.h
index c1a21e57317..a524da74cee 100644
--- a/src/plugins/tlsopenssl/tls_openssl.h
+++ b/src/plugins/tlsopenssl/tls_openssl.h
@@ -29,13 +29,21 @@ typedef struct tls_ctx_openssl_
SSL *ssl;
BIO *rbio;
BIO *wbio;
+} openssl_ctx_t;
+
+typedef struct tls_listen_ctx_opensl_
+{
+ u32 openssl_lctx_index;
+ SSL_CTX *ssl_ctx;
+ SSL *ssl;
X509 *srvcert;
EVP_PKEY *pkey;
-} openssl_ctx_t;
+} openssl_listen_ctx_t;
typedef struct openssl_main_
{
openssl_ctx_t ***ctx_pool;
+ openssl_listen_ctx_t *lctx_pool;
X509_STORE *cert_store;
int engine_init;