update openssl TLS async to align with openssl master branch 00/17100/4
authorPing Yu <ping.yu@intel.com>
Mon, 28 Jan 2019 08:12:08 +0000 (03:12 -0500)
committerFlorin Coras <florin.coras@gmail.com>
Mon, 28 Jan 2019 17:49:05 +0000 (17:49 +0000)
Need to align with 3.0.0 version

Change-Id: I4e8aec1f1226ce09963a9bbb3a9170d1863059ec
Signed-off-by: Ping Yu <ping.yu@intel.com>
src/plugins/tlsopenssl/tls_openssl.c

index d07e0f8..9585e3f 100644 (file)
@@ -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;
 
 }