[Linux] Remove CA certificate bundle

This commit is contained in:
Mikko Pulkki
2019-11-01 17:50:46 +02:00
committed by Thiago Marcos P. Santos
parent 55e18a6f81
commit 4176b28a77
5 changed files with 0 additions and 3533 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -79,19 +79,6 @@ target_link_libraries(
mbgl-vendor-sqlite
)
add_custom_target(mbgl-ca-bundle)
add_dependencies(mbgl-core mbgl-ca-bundle)
add_custom_command(
TARGET mbgl-ca-bundle PRE_BUILD
COMMAND
${CMAKE_COMMAND}
-E
copy
${MBGL_ROOT}/misc/ca-bundle.crt
${CMAKE_BINARY_DIR}
)
add_subdirectory(${PROJECT_SOURCE_DIR}/bin)
add_subdirectory(${PROJECT_SOURCE_DIR}/expression-test)
add_subdirectory(${PROJECT_SOURCE_DIR}/platform/glfw)

View File

@@ -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));

View File

@@ -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()

View File

@@ -1,5 +0,0 @@
#!/usr/bin/env bash
cd misc
curl https://raw.githubusercontent.com/curl/curl/master/lib/mk-ca-bundle.pl | perl
rm certdata.txt