[Linux] Remove CA certificate bundle
This commit is contained in:
committed by
Thiago Marcos P. Santos
parent
55e18a6f81
commit
4176b28a77
3507
misc/ca-bundle.crt
3507
misc/ca-bundle.crt
File diff suppressed because it is too large
Load Diff
@@ -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)
|
||||
|
||||
@@ -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));
|
||||
|
||||
@@ -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()
|
||||
|
||||
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user