1
0
Fork 0
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:
winlin 2014-07-06 17:25:25 +08:00
parent 574cd15efb
commit e5e2729967
4 changed files with 118 additions and 6 deletions

View file

@ -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[] = {

View file

@ -36,7 +36,7 @@ class SrsHandshakeBytes;
#ifdef SRS_AUTO_SSL
namespace srs
namespace _srs_internal
{
/**
* the schema type.