tls: fix wrong usage of session close function issue 29/26629/4
authorSimon Zhang <yuwei1.zhang@intel.com>
Wed, 22 Apr 2020 14:58:57 +0000 (22:58 +0800)
committerFlorin Coras <florin.coras@gmail.com>
Tue, 28 Apr 2020 00:20:08 +0000 (00:20 +0000)
Type: fix

Signed-off-by: Simon Zhang <yuwei1.zhang@intel.com>
Change-Id: I5a73e45e5b8a6a97c068e1ca108d8f8a2c1c0f90

src/plugins/tlspicotls/tls_picotls.c

index a4003c8..62782c6 100644 (file)
@@ -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;
 }