mirror of
https://github.com/ossrs/srs.git
synced 2025-02-13 03:41:55 +00:00
fix bug of utest build.
This commit is contained in:
parent
8651f38b59
commit
25630b5211
2 changed files with 7 additions and 0 deletions
|
@ -26,6 +26,8 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
#include <srs_core_autofree.hpp>
|
||||
#include <srs_protocol_utility.hpp>
|
||||
|
||||
#ifdef SRS_AUTO_SSL
|
||||
|
||||
// verify the sha256
|
||||
VOID TEST(HandshakeTest, OpensslSha256)
|
||||
{
|
||||
|
@ -237,3 +239,5 @@ VOID TEST(HandshakeTest, BytesEqual)
|
|||
EXPECT_TRUE(srs_bytes_equals(a1, a2, 1));
|
||||
EXPECT_FALSE(srs_bytes_equals(a1, b2, 1));
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -31,6 +31,9 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
|
||||
#include <srs_protocol_rtmp.hpp>
|
||||
#include <srs_protocol_handshake.hpp>
|
||||
|
||||
#ifdef SRS_AUTO_SSL
|
||||
using namespace srs;
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue