From: Simon Zhang Date: Wed, 22 Apr 2020 14:58:57 +0000 (+0800) Subject: tls: fix wrong usage of session close function issue X-Git-Tag: v20.09-rc0~119 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=3ff8e23d7d44b5394112e3558206a7165642116a;p=vpp.git tls: fix wrong usage of session close function issue Type: fix Signed-off-by: Simon Zhang Change-Id: I5a73e45e5b8a6a97c068e1ca108d8f8a2c1c0f90 --- 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; }