ALPN warnings fixed
This commit is contained in:
parent
6b3245c617
commit
6378b8b93f
@ -58,10 +58,6 @@ extern int IS_TURN_SERVER;
|
||||
|
||||
#define OPENSSL_FIRST_ALPN_VERSION (0x10002003L)
|
||||
|
||||
#define STUN_ALPN "stun.nat-discovery"
|
||||
#define TURN_ALPN "stun.turn"
|
||||
#define HTTP_ALPN "http/1.1"
|
||||
|
||||
#if OPENSSL_VERSION_NUMBER >= OPENSSL_FIRST_ALPN_VERSION
|
||||
#define ALPN_SUPPORTED 1
|
||||
#else
|
||||
|
||||
@ -35,6 +35,16 @@
|
||||
static int use_lt_credentials = 0;
|
||||
static int anon_credentials = 0;
|
||||
|
||||
////// ALPN //////////
|
||||
|
||||
#if ALPN_SUPPORTED
|
||||
|
||||
char STUN_ALPN[128] = "stun.nat-discovery";
|
||||
char TURN_ALPN[128] = "stun.turn";
|
||||
char HTTP_ALPN[128] = "http/1.1";
|
||||
|
||||
#endif
|
||||
|
||||
////// TURNDB //////////////
|
||||
|
||||
#if defined(TURNDB)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user