mirror of https://github.com/microsoft/vcpkg.git
[wolfssl] Add feature option to enable curve25519 support (#49490)
This commit is contained in:
parent
cd4535514f
commit
8f049f6dff
|
|
@ -25,6 +25,12 @@ else()
|
|||
set(ENABLE_QUIC no)
|
||||
endif()
|
||||
|
||||
if ("curve25519" IN_LIST FEATURES)
|
||||
set(ENABLE_CURVE25519 yes)
|
||||
else()
|
||||
set(ENABLE_CURVE25519 no)
|
||||
endif()
|
||||
|
||||
vcpkg_cmake_get_vars(cmake_vars_file)
|
||||
include("${cmake_vars_file}")
|
||||
|
||||
|
|
@ -57,6 +63,7 @@ vcpkg_cmake_configure(
|
|||
-DWOLFSSL_DTLS_CID=${ENABLE_DTLS}
|
||||
-DWOLFSSL_QUIC=${ENABLE_QUIC}
|
||||
-DWOLFSSL_SESSION_TICKET=${ENABLE_QUIC}
|
||||
-DWOLFSSL_CURVE25519=${ENABLE_CURVE25519}
|
||||
OPTIONS_RELEASE
|
||||
-DCMAKE_C_FLAGS=${VCPKG_COMBINED_C_FLAGS_RELEASE}
|
||||
OPTIONS_DEBUG
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
"name": "wolfssl",
|
||||
"version": "5.8.4",
|
||||
"port-version": 1,
|
||||
"description": "TLS and Cryptographic library for many platforms",
|
||||
"homepage": "https://wolfssl.com",
|
||||
"license": "GPL-3.0-or-later",
|
||||
|
|
@ -23,6 +24,9 @@
|
|||
"asio": {
|
||||
"description": "Enable asio support"
|
||||
},
|
||||
"curve25519": {
|
||||
"description": "Enables Curve25519 support"
|
||||
},
|
||||
"dtls": {
|
||||
"description": "DTLS support"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -10678,7 +10678,7 @@
|
|||
},
|
||||
"wolfssl": {
|
||||
"baseline": "5.8.4",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"wolftpm": {
|
||||
"baseline": "3.10.0",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "20f0274c9dd43541ec99a3678ce958a7f1009841",
|
||||
"version": "5.8.4",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "c671ed47b3bdefeaa595d9ec6a86d6dbbfbc2ff3",
|
||||
"version": "5.8.4",
|
||||
|
|
|
|||
Loading…
Reference in New Issue