mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
refine amf0 and handshake code, add comments to utest.
This commit is contained in:
parent
574cd15efb
commit
e5e2729967
4 changed files with 118 additions and 6 deletions
|
@ -35,7 +35,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
|
||||
#ifdef SRS_AUTO_SSL
|
||||
|
||||
using namespace srs;
|
||||
using namespace _srs_internal;
|
||||
|
||||
// for openssl_HMACsha256
|
||||
#include <openssl/evp.h>
|
||||
|
@ -43,7 +43,7 @@ using namespace srs;
|
|||
// for __openssl_generate_key
|
||||
#include <openssl/dh.h>
|
||||
|
||||
namespace srs
|
||||
namespace _srs_internal
|
||||
{
|
||||
// 68bytes FMS key which is used to sign the sever packet.
|
||||
u_int8_t SrsGenuineFMSKey[] = {
|
||||
|
|
|
@ -36,7 +36,7 @@ class SrsHandshakeBytes;
|
|||
|
||||
#ifdef SRS_AUTO_SSL
|
||||
|
||||
namespace srs
|
||||
namespace _srs_internal
|
||||
{
|
||||
/**
|
||||
* the schema type.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue