diff options
author | Mikko Pulkki <mikko.pulkki@mapbox.com> | 2019-11-01 17:50:46 +0200 |
---|---|---|
committer | Thiago Marcos P. Santos <tmpsantos@gmail.com> | 2019-11-11 10:11:49 +0200 |
commit | 4176b28a7794fb04ac81721404407a6a8a1c6ffe (patch) | |
tree | 28bd30063cc0781d80eadcd92a946258d0bdbe0a /platform | |
parent | 55e18a6f81f3b8ee61c3eb70b0d1cbe9a861e44f (diff) | |
download | qtlocation-mapboxgl-4176b28a7794fb04ac81721404407a6a8a1c6ffe.tar.gz |
[Linux] Remove CA certificate bundle
Diffstat (limited to 'platform')
-rw-r--r-- | platform/default/src/mbgl/storage/http_file_source.cpp | 1 | ||||
-rw-r--r-- | platform/linux/config.cmake | 7 |
2 files changed, 0 insertions, 8 deletions
diff --git a/platform/default/src/mbgl/storage/http_file_source.cpp b/platform/default/src/mbgl/storage/http_file_source.cpp index b0390c58fc..81bbf821ad 100644 --- a/platform/default/src/mbgl/storage/http_file_source.cpp +++ b/platform/default/src/mbgl/storage/http_file_source.cpp @@ -247,7 +247,6 @@ HTTPRequest::HTTPRequest(HTTPFileSource::Impl* context_, Resource resource_, Fil handleError(curl_easy_setopt(handle, CURLOPT_PRIVATE, this)); handleError(curl_easy_setopt(handle, CURLOPT_ERRORBUFFER, error)); - handleError(curl_easy_setopt(handle, CURLOPT_CAINFO, "ca-bundle.crt")); handleError(curl_easy_setopt(handle, CURLOPT_FOLLOWLOCATION, 1)); handleError(curl_easy_setopt(handle, CURLOPT_URL, resource.url.c_str())); handleError(curl_easy_setopt(handle, CURLOPT_WRITEFUNCTION, writeCallback)); diff --git a/platform/linux/config.cmake b/platform/linux/config.cmake index 39ae7c6d52..75070ad7d6 100644 --- a/platform/linux/config.cmake +++ b/platform/linux/config.cmake @@ -122,13 +122,6 @@ macro(mbgl_platform_glfw) PRIVATE mbgl-filesource PRIVATE mbgl-loop-uv ) - - add_custom_command( - TARGET mbgl-glfw POST_BUILD - COMMAND ${CMAKE_COMMAND} -E copy - ${CMAKE_SOURCE_DIR}/misc/ca-bundle.crt - ${CMAKE_CURRENT_BINARY_DIR}/ca-bundle.crt - ) endmacro() |