Skip to content

Commit 826d8a2

Browse files
authored
Update OpenSSL to 3.0.15 (#629)
IB-8224 Signed-off-by: Raul Metsma <[email protected]>
1 parent 79ce392 commit 826d8a2

File tree

7 files changed

+11
-11
lines changed

7 files changed

+11
-11
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ jobs:
165165
- name: Prepare vcpkg
166166
uses: lukka/run-vcpkg@v11
167167
with:
168-
vcpkgGitCommitId: 0f8b6ddf49fa8ae66a7826234e9ba3fda5f46d3c
168+
vcpkgGitCommitId: 511d74f695bd45959d12b50b00f1b68f69e8f0b0
169169
vcpkgJsonGlob: ./vcpkg.json
170170
runVcpkgInstall: true
171171
runVcpkgFormatString: "[`install`, `--recurse`, `--clean-after-build`, `--x-install-root`, `$[env.VCPKG_INSTALLED_DIR]`, `--triplet`, `$[env.VCPKG_DEFAULT_TRIPLET]`, `--x-feature`, `tests`]"

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ enable_testing()
9595
add_subdirectory(src)
9696
add_subdirectory(examples)
9797

98-
find_package( Boost COMPONENTS unit_test_framework )
98+
find_package(Boost COMPONENTS unit_test_framework QUIET)
9999
if(TARGET Boost::unit_test_framework)
100100
add_subdirectory(test)
101101
endif()

prepare_osx_build_environment.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/sh
22
set -e
33

4-
OPENSSL_DIR=openssl-3.0.14
4+
OPENSSL_DIR=openssl-3.0.15
55
LIBXML2_DIR=libxml2-2.12.9
66
XMLSEC_DIR=xmlsec1-1.3.5
77
ANDROID_NDK=android-ndk-r26d

src/CMakeLists.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
if(NOT MINIZIP_FOUND)
1+
if(TARGET PkgConfig::MINIZIP)
2+
add_library(minizip INTERFACE)
3+
target_link_libraries(minizip INTERFACE PkgConfig::MINIZIP)
4+
else()
25
message(STATUS "MiniZip not found; using bundled copy.")
36
add_library(minizip STATIC minizip/zip.c minizip/unzip.c minizip/ioapi.c $<$<C_COMPILER_ID:MSVC>:minizip/iowin32.c>)
47
target_compile_options(minizip PRIVATE $<$<NOT:$<CXX_COMPILER_ID:MSVC>>:-Wno-unused-parameter -Wno-unused-value>)
58
set_target_properties(minizip PROPERTIES COMPILE_DEFINITIONS "NOUNCRYPT;NOCRYPT" POSITION_INDEPENDENT_CODE YES)
69
target_link_libraries(minizip ZLIB::ZLIB)
7-
else()
8-
add_library(minizip INTERFACE)
9-
target_link_libraries(minizip INTERFACE PkgConfig::MINIZIP)
1010
endif()
1111

1212
configure_file( libdigidocpp.pc.cmake libdigidocpp.pc @ONLY )
@@ -123,7 +123,7 @@ set_property(SOURCE Conf.cpp APPEND PROPERTY COMPILE_DEFINITIONS
123123
)
124124

125125
set_target_properties(digidocpp PROPERTIES
126-
VERSION ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH}
126+
VERSION ${PROJECT_VERSION}
127127
SOVERSION 1
128128
PUBLIC_HEADER "${PUBLIC_HEADER}"
129129
RESOURCE ${CMAKE_CURRENT_BINARY_DIR}/digidocpp.conf
@@ -230,7 +230,7 @@ install( TARGETS digidocpp
230230

231231
if(WIN32)
232232
list(APPEND CRYPTO_HEADER crypto/WinSigner.h)
233-
target_compile_options(digidocpp PUBLIC "/guard:cf")
233+
target_compile_options(digidocpp_util PUBLIC "/guard:cf")
234234
target_link_options(digidocpp PUBLIC "/guard:cf")
235235
target_link_libraries(digidocpp PRIVATE Crypt32 cryptui ncrypt)
236236
install(FILES $<TARGET_PDB_FILE:digidocpp> $<TARGET_PDB_FILE:digidoc-tool> DESTINATION ${CMAKE_INSTALL_BINDIR} OPTIONAL)

vcpkg-ports/openssl/portfile.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ vcpkg_from_github(
1111
OUT_SOURCE_PATH SOURCE_PATH
1212
REPO openssl/openssl
1313
REF "openssl-${VERSION}"
14-
SHA512 ebd70c82ef2b8d882858e26333c27b8975e55cc8a350b646c24505cd6feba1e92d4894026ec6b0cefe6d7dcbedb5799bd72df4114c832efb2616b68ad303f5d1
14+
SHA512 d6f10f0f07dfa29d6d3f8a82d32c316a9c1ae3f54ecccfd11be0a5e01402779061c9389207968b3da4a67efd8d19b1695f6a1c45fde0d0f4e7b267a316ddb59c
1515
PATCHES
1616
disable-apps.patch
1717
command-line-length.patch

vcpkg-ports/openssl/unix/configure

100644100755
File mode changed.

vcpkg-ports/openssl/vcpkg.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "openssl",
3-
"version": "3.0.14",
3+
"version": "3.0.15",
44
"description": "OpenSSL is an open source project that provides a robust, commercial-grade, and full-featured toolkit for the Transport Layer Security (TLS) and Secure Sockets Layer (SSL) protocols. It is also a general-purpose cryptography library.",
55
"homepage": "https://www.openssl.org",
66
"license": "Apache-2.0",

0 commit comments

Comments
 (0)