diff --git a/Source/cryptalgo/SecureSocketPort.h b/Source/cryptalgo/SecureSocketPort.h index 5fd037b40..6eeae6ded 100644 --- a/Source/cryptalgo/SecureSocketPort.h +++ b/Source/cryptalgo/SecureSocketPort.h @@ -107,6 +107,8 @@ namespace Crypto { // Signal a state change, Opened, Closed or Accepted void StateChange() override { + ASSERT(_context != nullptr && _ssl != nullptr); + Update(); }; inline uint32_t Callback(IValidator* callback) {