Skip to content

Commit

Permalink
net/turnserver: fix build with libressl 3.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
rozhuk-im committed Nov 9, 2021
1 parent 11d50eb commit 7d980d9
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions net/turnserver/files/patch-src_apps_common_ns__turn__openssl.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
--- src/apps/common/ns_turn_openssl.h.orig 2021-01-10 22:59:55.000000000 +0300
+++ src/apps/common/ns_turn_openssl.h 2021-11-09 20:54:52.719203000 +0300
@@ -31,9 +31,12 @@
#ifndef __NST_OPENSSL_LIB__
#define __NST_OPENSSL_LIB__

+
#include <openssl/md5.h>
#include <openssl/hmac.h>
+#define LIBRESSL_INTERNAL
#include <openssl/ssl.h>
+#undef LIBRESSL_INTERNAL
#include <openssl/bio.h>
#include <openssl/err.h>
#include <openssl/rand.h>

0 comments on commit 7d980d9

Please sign in to comment.