summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorPing Yu <ping.yu@intel.com>2019-01-28 03:12:08 -0500
committerFlorin Coras <florin.coras@gmail.com>2019-01-28 17:49:05 +0000
commit7da100bd0484c8e28fd25f8cc9f3dcdbf27ec489 (patch)
tree60b3261c876baaf170d91c8474b635549d7185ac /src/plugins
parentee3fb62bc8dee44aef23d4cf82cf5f70011fbf94 (diff)
update openssl TLS async to align with openssl master branch
Need to align with 3.0.0 version Change-Id: I4e8aec1f1226ce09963a9bbb3a9170d1863059ec Signed-off-by: Ping Yu <ping.yu@intel.com>
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/tlsopenssl/tls_openssl.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/plugins/tlsopenssl/tls_openssl.c b/src/plugins/tlsopenssl/tls_openssl.c
index d07e0f89838..9585e3f828b 100644
--- a/src/plugins/tlsopenssl/tls_openssl.c
+++ b/src/plugins/tlsopenssl/tls_openssl.c
@@ -196,12 +196,10 @@ vpp_ssl_async_process_event (tls_ctx_t * ctx,
static int
vpp_ssl_async_retry_func (tls_ctx_t * ctx, openssl_resume_handler * handler)
{
- openssl_ctx_t *oc = (openssl_ctx_t *) ctx;
if (vpp_add_async_run_event (ctx, handler))
- {
- SSL_clear_async_status (oc->ssl);
- }
+ return 1;
+
return 0;
}