mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -05:00
Added support for tls-srp to MinGW builds.
This commit is contained in:
parent
8a279d2275
commit
9ac5cdfc2f
@ -119,6 +119,9 @@ endif
|
|||||||
ifeq ($(findstring -ssl,$(CFG)),-ssl)
|
ifeq ($(findstring -ssl,$(CFG)),-ssl)
|
||||||
SSL = 1
|
SSL = 1
|
||||||
endif
|
endif
|
||||||
|
ifeq ($(findstring -srp,$(CFG)),-srp)
|
||||||
|
SRP = 1
|
||||||
|
endif
|
||||||
ifeq ($(findstring -zlib,$(CFG)),-zlib)
|
ifeq ($(findstring -zlib,$(CFG)),-zlib)
|
||||||
ZLIB = 1
|
ZLIB = 1
|
||||||
endif
|
endif
|
||||||
@ -191,6 +194,11 @@ ifdef SSL
|
|||||||
-DHAVE_ENGINE_LOAD_BUILTIN_ENGINES -DOPENSSL_NO_KRB5 \
|
-DHAVE_ENGINE_LOAD_BUILTIN_ENGINES -DOPENSSL_NO_KRB5 \
|
||||||
-DCURL_WANTS_CA_BUNDLE_ENV
|
-DCURL_WANTS_CA_BUNDLE_ENV
|
||||||
DLL_LIBS += -L"$(OPENSSL_LIBPATH)" $(OPENSSL_LIBS)
|
DLL_LIBS += -L"$(OPENSSL_LIBPATH)" $(OPENSSL_LIBS)
|
||||||
|
ifdef SRP
|
||||||
|
ifeq "$(wildcard $(OPENSSL_INCLUDE)/openssl/srp.h)" "$(OPENSSL_INCLUDE)/openssl/srp.h"
|
||||||
|
CFLAGS += -DHAVE_SSLEAY_SRP -DUSE_TLS_SRP
|
||||||
|
endif
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
ifdef ZLIB
|
ifdef ZLIB
|
||||||
INCLUDES += -I"$(ZLIB_PATH)"
|
INCLUDES += -I"$(ZLIB_PATH)"
|
||||||
|
Loading…
Reference in New Issue
Block a user