Skip to content

Commit

Permalink
[Source/cryptalgo/SecureSocketPort] : add assert for invalid context …
Browse files Browse the repository at this point in the history
…and sll structure in 'Update'
  • Loading branch information
msieben committed Nov 22, 2024
1 parent 25a61a3 commit d351981
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Source/cryptalgo/SecureSocketPort.h
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit d351981

Please sign in to comment.