X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fplugins%2Ftlsopenssl%2Ftls_openssl.h;h=e802f4523eada8782816c8d66d3b8aa44b7f9de0;hb=413f4a5;hp=c1a21e573176cef7c0a6f6bb8ea3c92a174ef711;hpb=970a0b87bb7d7d9c16acbe9ea207a7d4c81bfaee;p=vpp.git diff --git a/src/plugins/tlsopenssl/tls_openssl.h b/src/plugins/tlsopenssl/tls_openssl.h index c1a21e57317..e802f4523ea 100644 --- a/src/plugins/tlsopenssl/tls_openssl.h +++ b/src/plugins/tlsopenssl/tls_openssl.h @@ -29,15 +29,24 @@ 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; + u8 *ciphers; int engine_init; int async; } openssl_main_t;