From: Ping Yu Date: Mon, 28 Jan 2019 08:12:08 +0000 (-0500) Subject: update openssl TLS async to align with openssl master branch X-Git-Tag: v19.04-rc1~578 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=7da100bd0484c8e28fd25f8cc9f3dcdbf27ec489;p=vpp.git 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 --- 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; }