mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-15 12:21:48 +08:00
b40de44891
This fixes a HIGH severity vulnerability: https://daniel.haxx.se/blog/2023/10/11/curl-8-4-0/ See also: https://daniel.haxx.se/blog/2023/10/11/how-i-made-a-heap-overflow-in-curl/ Resolves: https://github.com/microsoft/vcpkg/issues/34281
15 lines
509 B
Diff
15 lines
509 B
Diff
diff --git a/CMake/FindMbedTLS.cmake b/CMake/FindMbedTLS.cmake
|
|
index 814bd97..8b17eac 100644
|
|
--- a/CMake/FindMbedTLS.cmake
|
|
+++ b/CMake/FindMbedTLS.cmake
|
|
@@ -28,6 +28,9 @@ find_library(MBEDX509_LIBRARY mbedx509)
|
|
find_library(MBEDCRYPTO_LIBRARY mbedcrypto)
|
|
|
|
set(MBEDTLS_LIBRARIES "${MBEDTLS_LIBRARY}" "${MBEDX509_LIBRARY}" "${MBEDCRYPTO_LIBRARY}")
|
|
+if(WIN32)
|
|
+ list(APPEND MBEDTLS_LIBRARIES ws2_32)
|
|
+endif()
|
|
|
|
include(FindPackageHandleStandardArgs)
|
|
find_package_handle_standard_args(MbedTLS DEFAULT_MSG
|