aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/tlsopenssl/tls_openssl.c
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2018-09-14 17:56:29 -0700
committerDamjan Marion <dmarion@me.com>2018-09-15 08:11:40 +0000
commit35e22ceafae6410e317b1ff82f33d0547de6d46f (patch)
tree25bfbf026f4f5893314ace75c99b21ca821c823b /src/plugins/tlsopenssl/tls_openssl.c
parent4829babd7975b98eff8b152ed302495856a656bb (diff)
tls: fix openssl engine write complete condition
Change-Id: Ic1526f6916970ce2b0c4fc0d148d4396fa629b5f Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/plugins/tlsopenssl/tls_openssl.c')
-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 e42bb453bfd..744a07a254e 100644
--- a/src/plugins/tlsopenssl/tls_openssl.c
+++ b/src/plugins/tlsopenssl/tls_openssl.c
@@ -333,7 +333,7 @@ openssl_ctx_write (tls_ctx_t * ctx, stream_session_t * app_session)
}
}
- if (deq_now < deq_max)
+ if (wrote < deq_max)
tls_add_vpp_q_evt (app_session->server_tx_fifo, FIFO_EVENT_APP_TX);
check_tls_fifo: