aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/tsi/transport_security.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/tsi/transport_security.cc')
-rw-r--r--src/core/tsi/transport_security.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/tsi/transport_security.cc b/src/core/tsi/transport_security.cc
index ca861b52de..078a917bba 100644
--- a/src/core/tsi/transport_security.cc
+++ b/src/core/tsi/transport_security.cc
@@ -213,10 +213,10 @@ tsi_result tsi_handshaker_next(
void tsi_handshaker_shutdown(tsi_handshaker* self) {
if (self == nullptr || self->vtable == nullptr) return;
- self->handshake_shutdown = true;
if (self->vtable->shutdown != nullptr) {
self->vtable->shutdown(self);
}
+ self->handshake_shutdown = true;
}
void tsi_handshaker_destroy(tsi_handshaker* self) {