aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Zhang <yuwei1.zhang@intel.com>2020-04-11 19:09:03 +0800
committerFlorin Coras <florin.coras@gmail.com>2020-04-11 18:10:25 +0000
commitc39150df4d39f73aad8126db61715ccc73155cee (patch)
tree2c87025afb015fa263df103102635f8086d87e59
parent35acaac1843839f94e9bd40ad45a8d170a155f22 (diff)
tls: make ctx_write function return the length of enqueue
Type: fix Signed-off-by: Simon Zhang <yuwei1.zhang@intel.com> Change-Id: Ia8656fe2c48799e53c1b2c064009848ad3457659
-rw-r--r--src/plugins/tlspicotls/tls_picotls.c2
1 files changed, 1 insertions, 1 deletions
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