mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Remove some global elements for debugging. 3.0.152
This commit is contained in:
parent
9f9e3a5d42
commit
b348539687
16 changed files with 49 additions and 46 deletions
|
@ -352,7 +352,7 @@ VOID TEST(ProtocolHandshakeTest, OpensslSha256)
|
|||
// verify the dh key
|
||||
VOID TEST(ProtocolHandshakeTest, DHKey)
|
||||
{
|
||||
_srs_internal::SrsDH dh;
|
||||
srs_internal::SrsDH dh;
|
||||
|
||||
ASSERT_TRUE(ERROR_SUCCESS == dh.initialize(true));
|
||||
|
||||
|
@ -368,7 +368,7 @@ VOID TEST(ProtocolHandshakeTest, DHKey)
|
|||
EXPECT_TRUE(srs_bytes_equals(pub_key1, pub_key2, 128));
|
||||
|
||||
// another dh
|
||||
_srs_internal::SrsDH dh0;
|
||||
srs_internal::SrsDH dh0;
|
||||
|
||||
ASSERT_TRUE(ERROR_SUCCESS == dh0.initialize(true));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue