aboutsummaryrefslogtreecommitdiffstats
path: root/main/xrdp/libressl-support.patch
blob: 1fb705e5a73483a3e384d176068c6c5ef20cb877 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- ./common/ssl_calls.c.orig
+++ ./common/ssl_calls.c
@@ -40,7 +40,7 @@
 
 #define SSL_WANT_READ_WRITE_TIMEOUT 100
 
-#if OPENSSL_VERSION_NUMBER < 0x10100000L
+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
 static inline HMAC_CTX *
 HMAC_CTX_new(void)
 {