1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-12 12:35:04 -05:00

NetWare build: added TLS-SRP enabled build.

This commit is contained in:
Guenter Knauf 2015-01-08 21:40:35 +01:00
parent 5c0e66d632
commit c712fe01a9

View File

@ -214,6 +214,11 @@ WITH_SSL =
else else
ifeq ($(findstring -ssl,$(CFG)),-ssl) ifeq ($(findstring -ssl,$(CFG)),-ssl)
WITH_SSL = 1 WITH_SSL = 1
ifeq ($(findstring -srp,$(CFG)),-srp)
ifeq "$(wildcard $(OPENSSL_PATH)/outinc_nw_$(LIBARCH_L)/openssl/srp.h)" "$(OPENSSL_PATH)/outinc_nw_$(LIBARCH_L)/openssl/srp.h"
WITH_SRP = 1
endif
endif
endif endif
endif endif
ifeq ($(findstring -zlib,$(CFG)),-zlib) ifeq ($(findstring -zlib,$(CFG)),-zlib)
@ -638,6 +643,10 @@ ifdef WITH_SSL
@echo $(DL)#define HAVE_LIBSSL 1$(DL) >> $@ @echo $(DL)#define HAVE_LIBSSL 1$(DL) >> $@
@echo $(DL)#define HAVE_LIBCRYPTO 1$(DL) >> $@ @echo $(DL)#define HAVE_LIBCRYPTO 1$(DL) >> $@
@echo $(DL)#define OPENSSL_NO_KRB5 1$(DL) >> $@ @echo $(DL)#define OPENSSL_NO_KRB5 1$(DL) >> $@
ifdef WITH_SRP
@echo $(DL)#define HAVE_SSLEAY_SRP 1$(DL) >> $@
@echo $(DL)#define USE_TLS_SRP 1$(DL) >> $@
endif
ifdef WITH_SPNEGO ifdef WITH_SPNEGO
@echo $(DL)#define HAVE_SPNEGO 1$(DL) >> $@ @echo $(DL)#define HAVE_SPNEGO 1$(DL) >> $@
endif endif
@ -690,6 +699,11 @@ ifdef WITH_SSL
else else
@echo SSL support: no @echo SSL support: no
endif endif
ifdef WITH_SRP
@echo SRP support: enabled
else
@echo SRP support: no
endif
ifdef WITH_SSH2 ifdef WITH_SSH2
@echo SSH2 support: enabled (libssh2) @echo SSH2 support: enabled (libssh2)
else else