mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 02:11:58 +08:00
[wolfssl] Build wolfssl with HAVE_EX_DATA and NO_WOLFSSL_STUB to enable async use and coexistence with openssl without link error (#38994)
Async applications using wolfssl need to associate extra data (application context) with the ssl session and context. This is used in verification callback. NO_WOLFSSL_STUB is needed to prevent a link time error resulting from duplicate symbols when linking to both wolfssl and openssl at the same time --------- Co-authored-by: Kai Pastor <dg0yt@darc.de> Co-authored-by: Monica <liuyumei01@beyondsoft.com>
This commit is contained in:
parent
bdd4abf93d
commit
6e31ee33cc
@ -17,7 +17,7 @@ vcpkg_cmake_get_vars(cmake_vars_file)
|
||||
include("${cmake_vars_file}")
|
||||
|
||||
foreach(config RELEASE DEBUG)
|
||||
string(APPEND VCPKG_COMBINED_C_FLAGS_${config} " -DWOLFSSL_ALT_CERT_CHAINS -DWOLFSSL_DES_ECB -DWOLFSSL_CUSTOM_OID -DHAVE_OID_ENCODING -DWOLFSSL_CERT_GEN -DWOLFSSL_ASN_TEMPLATE -DWOLFSSL_KEY_GEN -DHAVE_PKCS7 -DHAVE_AES_KEYWRAP -DWOLFSSL_AES_DIRECT -DHAVE_X963_KDF")
|
||||
string(APPEND VCPKG_COMBINED_C_FLAGS_${config} " -DHAVE_EX_DATA -DNO_WOLFSSL_STUB -DWOLFSSL_ALT_CERT_CHAINS -DWOLFSSL_DES_ECB -DWOLFSSL_CUSTOM_OID -DHAVE_OID_ENCODING -DWOLFSSL_CERT_GEN -DWOLFSSL_ASN_TEMPLATE -DWOLFSSL_KEY_GEN -DHAVE_PKCS7 -DHAVE_AES_KEYWRAP -DWOLFSSL_AES_DIRECT -DHAVE_X963_KDF")
|
||||
if ("secret-callback" IN_LIST FEATURES)
|
||||
string(APPEND VCPKG_COMBINED_C_FLAGS_${config} " -DHAVE_SECRET_CALLBACK")
|
||||
endif()
|
||||
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
"name": "wolfssl",
|
||||
"version": "5.7.0",
|
||||
"port-version": 1,
|
||||
"description": "TLS and Cryptographic library for many platforms",
|
||||
"homepage": "https://wolfssl.com",
|
||||
"license": "GPL-2.0-or-later",
|
||||
|
@ -9386,7 +9386,7 @@
|
||||
},
|
||||
"wolfssl": {
|
||||
"baseline": "5.7.0",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"wolftpm": {
|
||||
"baseline": "3.2.0",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "60802b6ec5e1284242e1b501a1eed34033bbdc35",
|
||||
"version": "5.7.0",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "45cca8d8dd8cf4b0310f1c4bbb84c9332cdba032",
|
||||
"version": "5.7.0",
|
||||
|
Loading…
x
Reference in New Issue
Block a user