summaryrefslogtreecommitdiffstats
path: root/src/plugins/tlsopenssl
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/tlsopenssl')
-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;
}