File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11vcpkg_from_github (
22 OUT_SOURCE_PATH SOURCE_PATH
33 REPO aws/s2n-tls
4- REF ab9a3be5a8abcbc5bd7bdba662497a717737c838 # v1.3.0
5- SHA512 0150cba56f7940253ffa5af0c27fdc8db08961d4c8a80377d25f588fa8a56249eb02723304969d0fdebe570388545527ee826a3070c21e50e63c4f021d425728
4+ REF 36c3dc72ab1359cf721294e1258dfdc2962f3ffc # v1.3.5
5+ SHA512 2c9eed12e90e5fc987758635fec4a7418c20d25c724cfa391090b06bfcc4eb5925b4011d51a99e7c7ab80f535684ee3934ba4734b7966edd323bf88bc5953d7c
66 PATCHES
77 fix-cmake-target-path.patch
88 use-openssl-crypto.patch
9+ remove-trycompile.patch
910)
1011
1112vcpkg_check_features (OUT_FEATURE_OPTIONS FEATURE_OPTIONS
1213 FEATURES
1314 tests BUILD_TESTING
1415)
16+
17+ set (EXTRA_ARGS)
18+ if (VCPKG_TARGET_ARCHITECTURE STREQUAL "wasm32" )
19+ set (EXTRA_ARGS "-DS2N_NO_PQ=TRUE" )
20+ endif ()
21+
1522vcpkg_cmake_configure (
1623 SOURCE_PATH "${SOURCE_PATH} "
1724 OPTIONS
25+ ${EXTRA_ARGS}
1826 ${FEATURE_OPTIONS}
1927 -DUNSAFE_TREAT_WARNINGS_AS_ERRORS=OFF
2028)
Original file line number Diff line number Diff line change 1+ diff --git a/CMakeLists.txt b/CMakeLists.txt
2+ --- a/CMakeLists.txt (revision 86c857094a2d94fafce15a3d32abb4052e664c5c)
3+ +++ b/CMakeLists.txt (date 1643340236796)
4+ @@ -409,32 +409,6 @@
5+ endif()
6+ endif()
7+
8+ - # Determine if EVP_md5_sha1 is available in libcrypto
9+ - try_compile(
10+ - LIBCRYPTO_SUPPORTS_EVP_MD5_SHA1_HASH
11+ - ${CMAKE_BINARY_DIR}
12+ - SOURCES "${CMAKE_CURRENT_LIST_DIR}/tests/features/evp_md5_sha1.c"
13+ - LINK_LIBRARIES crypto ${OS_LIBS}
14+ - CMAKE_FLAGS
15+ - "-DINCLUDE_DIRECTORIES=$<TARGET_PROPERTY:crypto,INTERFACE_INCLUDE_DIRECTORIES>"
16+ - )
17+ - if (LIBCRYPTO_SUPPORTS_EVP_MD5_SHA1_HASH)
18+ - target_compile_options(${PROJECT_NAME} PUBLIC -DS2N_LIBCRYPTO_SUPPORTS_EVP_MD5_SHA1_HASH)
19+ - endif()
20+ -
21+ - # Determine if EVP_MD_CTX_set_pkey_ctx is available in libcrypto
22+ - try_compile(
23+ - LIBCRYPTO_SUPPORTS_EVP_MD_CTX_SET_PKEY_CTX
24+ - ${CMAKE_BINARY_DIR}
25+ - SOURCES "${CMAKE_CURRENT_LIST_DIR}/tests/features/evp_md_ctx_set_pkey_ctx.c"
26+ - LINK_LIBRARIES crypto ${OS_LIBS}
27+ - CMAKE_FLAGS
28+ - "-DINCLUDE_DIRECTORIES=$<TARGET_PROPERTY:crypto,INTERFACE_INCLUDE_DIRECTORIES>"
29+ - )
30+ - if (LIBCRYPTO_SUPPORTS_EVP_MD_CTX_SET_PKEY_CTX)
31+ - target_compile_options(${PROJECT_NAME} PUBLIC -DS2N_LIBCRYPTO_SUPPORTS_EVP_MD_CTX_SET_PKEY_CTX)
32+ - endif()
33+ -
34+ if (S2N_INTERN_LIBCRYPTO)
35+ if (NOT LibCrypto_STATIC_LIBRARY)
36+ message(FATAL_ERROR "libcrypto interning requires a static build of libcrypto.a to be available")
Original file line number Diff line number Diff line change 11{
22 "name" : " s2n" ,
3- "version" : " 1.3.0" ,
4- "port-version" : 1 ,
3+ "version" : " 1.3.5" ,
54 "description" : " C99 implementation of the TLS/SSL protocols." ,
65 "homepage" : " https://github.com/aws/s2n-tls" ,
76 "supports" : " !uwp & !windows" ,
Original file line number Diff line number Diff line change 62016201 "port-version" : 1
62026202 },
62036203 "s2n" : {
6204- "baseline" : " 1.3.0 " ,
6205- "port-version" : 1
6204+ "baseline" : " 1.3.5 " ,
6205+ "port-version" : 0
62066206 },
62076207 "safeint" : {
62086208 "baseline" : " 3.0.26" ,
Original file line number Diff line number Diff line change 11{
22 "versions" : [
3+ {
4+ "git-tree" : " 6eed0d44ebcda6eea8c4a79b37ee119b9125060a" ,
5+ "version" : " 1.3.5" ,
6+ "port-version" : 0
7+ },
38 {
49 "git-tree" : " 7cb2325defd326de178cf524bd5db039ff1dc112" ,
510 "version" : " 1.3.0" ,
You can’t perform that action at this time.
0 commit comments