From: Simon Zhang Date: Sat, 11 Apr 2020 11:09:03 +0000 (+0800) Subject: tls: make ctx_write function return the length of enqueue X-Git-Tag: v20.09-rc0~223 X-Git-Url: https://gerrit.fd.io/r/gitweb?p=vpp.git;a=commitdiff_plain;h=c39150df4d39f73aad8126db61715ccc73155cee tls: make ctx_write function return the length of enqueue Type: fix Signed-off-by: Simon Zhang Change-Id: Ia8656fe2c48799e53c1b2c064009848ad3457659 --- 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