diff options
author | Guenter Knauf <lists@gknw.net> | 2012-07-25 13:16:22 +0200 |
---|---|---|
committer | Guenter Knauf <lists@gknw.net> | 2012-07-25 13:16:22 +0200 |
commit | 9ac5cdfc2f0a0fed15588b8a007c565fa711c9c3 (patch) | |
tree | 3c59bb270c084a7de06bb71170447a7b382f4da9 /lib | |
parent | 8a279d2275280c813b2f646e48129c93a9e863b0 (diff) |
Added support for tls-srp to MinGW builds.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Makefile.m32 | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/Makefile.m32 b/lib/Makefile.m32 index d7f8de87f..661cc649a 100644 --- a/lib/Makefile.m32 +++ b/lib/Makefile.m32 @@ -119,6 +119,9 @@ endif ifeq ($(findstring -ssl,$(CFG)),-ssl) SSL = 1 endif +ifeq ($(findstring -srp,$(CFG)),-srp) +SRP = 1 +endif ifeq ($(findstring -zlib,$(CFG)),-zlib) ZLIB = 1 endif @@ -191,6 +194,11 @@ ifdef SSL -DHAVE_ENGINE_LOAD_BUILTIN_ENGINES -DOPENSSL_NO_KRB5 \ -DCURL_WANTS_CA_BUNDLE_ENV 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 ifdef ZLIB INCLUDES += -I"$(ZLIB_PATH)" |