mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Always enable SRS_SSL
This commit is contained in:
parent
8e294709b0
commit
0bc7fdbb35
12 changed files with 4 additions and 70 deletions
|
@ -214,8 +214,6 @@ srs_error_t MockBufferIO::read(void* buf, size_t size, ssize_t* nread)
|
|||
|
||||
#ifdef ENABLE_UTEST_PROTOCOL
|
||||
|
||||
#ifdef SRS_AUTO_SSL
|
||||
|
||||
// verify the sha256
|
||||
VOID TEST(ProtocolHandshakeTest, OpensslSha256)
|
||||
{
|
||||
|
@ -379,8 +377,6 @@ VOID TEST(ProtocolHandshakeTest, ComplexHandshake)
|
|||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
VOID TEST(ProtocolHandshakeTest, SimpleHandshake)
|
||||
{
|
||||
uint8_t c0c1[] = {
|
||||
|
|
|
@ -36,9 +36,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
#include <srs_rtmp_handshake.hpp>
|
||||
#include <srs_protocol_stream.hpp>
|
||||
|
||||
#ifdef SRS_AUTO_SSL
|
||||
using namespace _srs_internal;
|
||||
#endif
|
||||
|
||||
#include <srs_protocol_io.hpp>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue