Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions packages/s/simple_http/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ package("simple_http")
add_versions("v0.2.0", "1c2ab7c2be317f95e34bdbe6c753293495b6743828ec4115b5f3c383c8c95adc")

add_deps("cmake")
add_deps("boost", {configs = {cmake = false}})
add_deps("nghttp2", "openssl")
add_deps("boost", {configs = {asio = true}})
add_deps("openssl")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

security-high high

The openssl dependency is introduced without a version specification, which will resolve to an unsupported OpenSSL 1.1.1 series. This version has reached End of Life and no longer receives security updates, posing a significant security risk. It is critical to constrain this dependency to a supported major version, such as 3.x. Additionally, for consistency and improved maintainability, consider listing dependencies in alphabetical order.

    add_deps("openssl", {versions = ">=3.0.0"})

add_deps("nghttp2")

on_install("linux", "cross", "bsd", function (package)
import("package.tools.cmake").install(package)
Expand Down
Loading