From a875b3ea11913bea656c922be2ba54db22f54e4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josef=20S=C3=B6ntgen?= Date: Wed, 6 Mar 2013 18:50:24 +0100 Subject: [PATCH] libports: enable SSL in curl Fixes #681 --- libports/lib/mk/curl.mk | 2 +- libports/src/lib/curl/curl_config.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libports/lib/mk/curl.mk b/libports/lib/mk/curl.mk index c9cde87ff..79b937d75 100644 --- a/libports/lib/mk/curl.mk +++ b/libports/lib/mk/curl.mk @@ -25,7 +25,7 @@ SRC_C = \ CC_OPT += -DHAVE_CONFIG_H -LIBS += libc zlib libcrypto libssh +LIBS += libc zlib libcrypto libssh libssl include $(REP_DIR)/lib/import/import-curl.mk diff --git a/libports/src/lib/curl/curl_config.h b/libports/src/lib/curl/curl_config.h index cfdb92ba8..4c2d870fe 100644 --- a/libports/src/lib/curl/curl_config.h +++ b/libports/src/lib/curl/curl_config.h @@ -1004,13 +1004,13 @@ /* #undef USE_OPENLDAP */ /* if OpenSSL is in use */ -/* #undef USE_OPENSSL */ +#define USE_OPENSSL 1 /* if PolarSSL is enabled */ /* #undef USE_POLARSSL */ /* if SSL is enabled */ -/* #undef USE_SSLEAY */ +#define USE_SSLEAY 1 /* if you want POSIX threaded DNS lookup */ /* #undef USE_THREADS_POSIX */