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-08-13 10:58:53 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
67ab0fb5e0b274290153dde71816181cb4ed01d4
67ab0fb5
1 parent
aefcaa96
add comments for openssl key generator assert.
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
3 行增加
和
1 行删除
trunk/src/rtmp/srs_protocol_handshake.cpp
trunk/src/rtmp/srs_protocol_handshake.cpp
查看文件 @
67ab0fb
...
...
@@ -198,7 +198,9 @@ namespace _srs_internal
}
// copy public key to bytes.
srs_assert
(
BN_num_bytes
(
pdh
->
pub_key
)
==
size
);
// TODO: FIXME: please finger it out.
int32_t
key_size
=
BN_num_bytes
(
pdh
->
pub_key
);
srs_assert
(
key_size
==
size
);
if
(
BN_bn2bin
(
pdh
->
pub_key
,
(
unsigned
char
*
)
public_key
)
!=
size
)
{
//("Unable to copy key"); return ret;
...
...
请
注册
或
登录
后发表评论