tls: make ctx_write function return the length of enqueue

Type: fix

Signed-off-by: Simon Zhang <yuwei1.zhang@intel.com>
Change-Id: Ia8656fe2c48799e53c1b2c064009848ad3457659
This commit is contained in:
Simon Zhang
2020-04-11 19:09:03 +08:00
committed by Florin Coras
parent 35acaac184
commit c39150df4d

View File

@@ -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