From c39150df4d39f73aad8126db61715ccc73155cee Mon Sep 17 00:00:00 2001 From: Simon Zhang Date: Sat, 11 Apr 2020 19:09:03 +0800 Subject: tls: make ctx_write function return the length of enqueue Type: fix Signed-off-by: Simon Zhang Change-Id: Ia8656fe2c48799e53c1b2c064009848ad3457659 --- src/plugins/tlspicotls/tls_picotls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins') diff --git a/src/plugins/tlspicotls/tls_picotls.c b/src/plugins/tlspicotls/tls_picotls.c index 581814412c6..d474b7b26f8 100644 --- a/src/plugins/tlspicotls/tls_picotls.c +++ b/src/plugins/tlspicotls/tls_picotls.c @@ -514,7 +514,7 @@ picotls_ctx_write (tls_ctx_t * ctx, session_t * app_session, if (ctx->app_closed) picotls_app_close (ctx); - return 0; + return to_tls_len; } static int -- cgit 1.2.3-korg