summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/plugins/tlsopenssl/tls_openssl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/tlsopenssl/tls_openssl.c b/src/plugins/tlsopenssl/tls_openssl.c
index b675d795cd8..73e5cc0af35 100644
--- a/src/plugins/tlsopenssl/tls_openssl.c
+++ b/src/plugins/tlsopenssl/tls_openssl.c
@@ -220,7 +220,7 @@ openssl_ctx_handshake_rx (tls_ctx_t * ctx, stream_session_t * tls_session)
{
vpp_ssl_async_retry_func (ctx, myself);
}
- if (err == SSL_ERROR_WANT_ASYNC)
+ else if (err == SSL_ERROR_WANT_ASYNC)
{
vpp_ssl_async_process_event (ctx, myself);
}