summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorSimon Zhang <yuwei1.zhang@intel.com>2020-04-22 22:58:57 +0800
committerFlorin Coras <florin.coras@gmail.com>2020-04-28 00:20:08 +0000
commit3ff8e23d7d44b5394112e3558206a7165642116a (patch)
tree007a5fee98fc28dbb545ff0be3f8818d91b422db /src/plugins
parentbc0d9ff6727d77668e216aba1c6d6cb753fa2ac3 (diff)
tls: fix wrong usage of session close function issue
Type: fix Signed-off-by: Simon Zhang <yuwei1.zhang@intel.com> Change-Id: I5a73e45e5b8a6a97c068e1ca108d8f8a2c1c0f90
Diffstat (limited to 'src/plugins')
-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 a4003c8e68b..62782c6c113 100644
--- a/src/plugins/tlspicotls/tls_picotls.c
+++ b/src/plugins/tlspicotls/tls_picotls.c
@@ -201,7 +201,7 @@ picotls_transport_close (tls_ctx_t * ctx)
}
picotls_ctx_t *ptls_ctx = (picotls_ctx_t *) ctx;
ptls_free (ptls_ctx->tls);
- session_transport_closed_notify (&ctx->connection);
+ session_transport_closing_notify (&ctx->connection);
return 0;
}