diff options
Diffstat (limited to 'main/lua-cqueues/libressl-2.5.patch')
-rw-r--r-- | main/lua-cqueues/libressl-2.5.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/main/lua-cqueues/libressl-2.5.patch b/main/lua-cqueues/libressl-2.5.patch new file mode 100644 index 0000000000..0366e65146 --- /dev/null +++ b/main/lua-cqueues/libressl-2.5.patch @@ -0,0 +1,15 @@ +diff --git a/src/lib/socket.c b/src/lib/socket.c +index 390896f..51ac128 100644 +--- a/src/lib/socket.c ++++ b/src/lib/socket.c +@@ -86,6 +86,10 @@ int socket_v_api(void) { + return SOCKET_V_API; + } /* socket_v_api() */ + ++#if LIBRESSL_VERSION_NUMBER >= 0x2050100fL ++#define HAVE_SSL_IS_SERVER 1 ++#define SSL_is_server(s) (s)->server ++#endif + + /* + * F E A T U R E R O U T I N E S |