Toggle navigation
Toggle navigation
此项目
正在载入...
Sign in
胡斌
/
srs
转到一个项目
Toggle navigation
项目
群组
代码片段
帮助
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
winlin
2014-04-18 09:16:43 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
25630b5211f05bd823ca7d7e8d9604c94afe1df9
25630b52
1 parent
8651f38b
fix bug of utest build.
隐藏空白字符变更
内嵌
并排对比
正在显示
2 个修改的文件
包含
7 行增加
和
0 行删除
trunk/src/utest/srs_utest_handshake.cpp
trunk/src/utest/srs_utest_handshake.hpp
trunk/src/utest/srs_utest_handshake.cpp
查看文件 @
25630b5
...
...
@@ -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
...
...
trunk/src/utest/srs_utest_handshake.hpp
查看文件 @
25630b5
...
...
@@ -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
...
...
请
注册
或
登录
后发表评论