mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
SRT: Upgrade libsrt from 1.4.1 to 1.5.1. v6.0.12 (#3362)
Co-authored-by: winlin <winlin@vip.126.com>
This commit is contained in:
parent
7a56208f2f
commit
fe086dfc31
143 changed files with 38185 additions and 15108 deletions
|
@ -1,5 +1,5 @@
|
|||
#ifndef INC__CRYSPR_CONFIG_H
|
||||
#define INC__CRYSPR_CONFIG_H
|
||||
#ifndef INC_SRT_CRYSPR_CONFIG_H
|
||||
#define INC_SRT_CRYSPR_CONFIG_H
|
||||
|
||||
// Size of the single block for encryption.
|
||||
// This might need tweaking for particular implementation library.
|
||||
|
@ -8,14 +8,22 @@
|
|||
#if defined(USE_OPENSSL)
|
||||
#include "cryspr-openssl.h"
|
||||
#define cryspr4SRT() crysprOpenSSL()
|
||||
#define CRYSPR_IMPL_DESC "OpenSSL-AES"
|
||||
#elif defined(USE_OPENSSL_EVP)
|
||||
#include "cryspr-openssl-evp.h"
|
||||
#define cryspr4SRT() crysprOpenSSL_EVP()
|
||||
#define CRYSPR_IMPL_DESC "OpenSSL-EVP"
|
||||
#elif defined(USE_GNUTLS)
|
||||
#include "cryspr-gnutls.h"
|
||||
#define cryspr4SRT() crysprGnuTLS()
|
||||
#define CRYSPR_IMPL_DESC "GnuTLS"
|
||||
#elif defined(USE_MBEDTLS)
|
||||
#include "cryspr-mbedtls.h"
|
||||
#define cryspr4SRT() crysprMbedtls()
|
||||
#define CRYSPR_IMPL_DESC "MbedTLS"
|
||||
#else
|
||||
#error Cryspr implementation not selected. Please define USE_* + OPENSSL/GNUTLS/MBEDTLS.
|
||||
#define CRYSPR_IMPL_DESC "No Cipher"
|
||||
#endif
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue