mirror of
https://github.com/brunoos/luasec.git
synced 2025-07-12 05:54:28 +02:00
Add compatibility flat to OpenSSL 1.1.1 version
Avoid deprecated messages until the code is fully compliant with version 3.x
This commit is contained in:
parent
fa16e04293
commit
989ee5f993
2
Makefile
2
Makefile
@ -6,7 +6,7 @@ LUACPATH ?= /usr/lib/lua/5.1
|
||||
# Comment this lines if you will link with non-internal LuaSocket's help files
|
||||
# and edit INCDIR and LIBDIR properly.
|
||||
EXTRA = luasocket
|
||||
DEFS = -DWITH_LUASOCKET
|
||||
DEFS = -DWITH_LUASOCKET -DOPENSSL_API_COMPAT=0x10101000L
|
||||
|
||||
# Edit the lines below to inform new path, if necessary.
|
||||
# Path below points to internal LuaSocket's help files.
|
||||
|
@ -46,7 +46,7 @@ build = {
|
||||
modules = {
|
||||
ssl = {
|
||||
defines = {
|
||||
"WITH_LUASOCKET", "LUASOCKET_DEBUG",
|
||||
"WITH_LUASOCKET", "LUASOCKET_DEBUG", "OPENSSL_API_COMPAT=0x10101000L"
|
||||
},
|
||||
incdirs = {
|
||||
"$(OPENSSL_INCDIR)", "src/", "src/luasocket",
|
||||
@ -80,7 +80,8 @@ build = {
|
||||
defines = {
|
||||
"WIN32", "NDEBUG", "_WINDOWS", "_USRDLL", "LSEC_EXPORTS", "BUFFER_DEBUG", "LSEC_API=__declspec(dllexport)",
|
||||
"WITH_LUASOCKET", "LUASOCKET_DEBUG",
|
||||
"LUASEC_INET_NTOP", "WINVER=0x0501", "_WIN32_WINNT=0x0501", "NTDDI_VERSION=0x05010300"
|
||||
"LUASEC_INET_NTOP", "WINVER=0x0501", "_WIN32_WINNT=0x0501", "NTDDI_VERSION=0x05010300",
|
||||
"OPENSSL_API_COMPAT=0x10101000L"
|
||||
},
|
||||
libdirs = {
|
||||
"$(OPENSSL_LIBDIR)",
|
||||
|
Loading…
x
Reference in New Issue
Block a user