mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
RTC support openssl 1.0.*
This commit is contained in:
parent
f853c7a1e0
commit
9ad5a5d9b6
3 changed files with 10 additions and 2 deletions
|
@ -34,6 +34,12 @@ class SrsBuffer;
|
|||
// For openssl.
|
||||
#include <openssl/hmac.h>
|
||||
|
||||
// @see https://wiki.openssl.org/index.php/OpenSSL_1.1.0_Changes
|
||||
#if OPENSSL_VERSION_NUMBER < 0x10100000L
|
||||
extern HMAC_CTX *HMAC_CTX_new(void);
|
||||
extern void HMAC_CTX_free(HMAC_CTX *ctx);
|
||||
#endif
|
||||
|
||||
namespace _srs_internal
|
||||
{
|
||||
// The digest key generate size.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue