Skip to content

Commit

Permalink
Needs to reset context
Browse files Browse the repository at this point in the history
  • Loading branch information
RicardoMDomingues committed Jan 24, 2025
1 parent e3bd24a commit 3f5ebce
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/transport/IceTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,8 @@ TEST_F(IceTest, HMACempty)
EXPECT_TRUE(hmac.init(pwd.c_str(), pwd.size()));
uint8_t result[20];
hmac.compute(result);
hmac.reset();
hmac.add(req, 5);

hmac.compute(result);
}

Expand Down Expand Up @@ -391,7 +391,7 @@ class IceSocketAdapter : public ice::IceEndpoint
{
public:
IceSocketAdapter() {}
virtual ~IceSocketAdapter(){};
virtual ~IceSocketAdapter() {};

void sendStunTo(const transport::SocketAddress& target,
ice::Int96 transactionId,
Expand Down Expand Up @@ -419,7 +419,7 @@ class IceTestInfra : public transport::RtcePoll::IEventListener
session(1, config, ice::IceComponent::RTP, ice::IceRole::CONTROLLING, nullptr),
_socketService(transport::createRtcePoll()),
_socketCount(0),
_inboundPackets(32){};
_inboundPackets(32) {};

void add(transport::SocketAddress localInterface)
{
Expand Down

0 comments on commit 3f5ebce

Please sign in to comment.