aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2017-12-19 23:14:12 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-12-19 23:14:12 +0000
commitaae00d53fb85eb5e1a4b768f0c353c4e5884baff (patch)
treed439cbca5e5a690085c6ec1d5ad638557740b042
parent57af415b8f4f0f3414bcebe2959a771a8d6372de (diff)
parent10454ac0160379de136bacbd7919f97228e906e6 (diff)
downloadandroid_external_curl-aae00d53fb85eb5e1a4b768f0c353c4e5884baff.tar.gz
android_external_curl-aae00d53fb85eb5e1a4b768f0c353c4e5884baff.tar.bz2
android_external_curl-aae00d53fb85eb5e1a4b768f0c353c4e5884baff.zip
Merge "Disable FTP and FTPS." am: 8725a20f04 am: 8fe2ac76a9
am: 10454ac016 Change-Id: I214478d8a4f4e71088924de3d4aa271ba8c26f95
-rwxr-xr-xandroidconfigure4
-rw-r--r--lib/curl_config.h2
2 files changed, 4 insertions, 2 deletions
diff --git a/androidconfigure b/androidconfigure
index f807e96..da59f54 100755
--- a/androidconfigure
+++ b/androidconfigure
@@ -55,6 +55,9 @@ CONFIGURE_ARGS=(
--disable-smb
--disable-gopher
+ # Disable FTP and FTPS support.
+ --disable-ftp
+
# Disable LDAP and LDAPS support.
--disable-ldap
--disable-ldaps
@@ -74,7 +77,6 @@ CONFIGURE_ARGS=(
### Enable HTTP, FTP and FILE explicitly. These are enabled by default but
# listed here as documentation.
--enable-http
- --enable-ftp
--enable-file
--enable-proxy
diff --git a/lib/curl_config.h b/lib/curl_config.h
index 6ba8fac..4a0b8d3 100644
--- a/lib/curl_config.h
+++ b/lib/curl_config.h
@@ -23,7 +23,7 @@
/* #undef CURL_DISABLE_FILE */
/* to disable FTP */
-/* #undef CURL_DISABLE_FTP */
+#define CURL_DISABLE_FTP 1
/* to disable Gopher */
#define CURL_DISABLE_GOPHER 1