Use dlopen for OpenSSL algos implementation

Resolves: RHEL-46598
This commit is contained in:
Dmitry Belyavskiy 2024-07-08 16:08:15 +02:00
parent 12dba42414
commit 39e74bef9f
2 changed files with 4193 additions and 1 deletions

File diff suppressed because it is too large Load Diff

View File

@ -11,6 +11,7 @@ Summary: liboqs is an open source C library for quantum-safe cryptographic al
License: MIT AND Apache 2.0 AND BSD 3-Clause AND (BSD-3-Clause OR GPL-1.0-or-later) AND CC0-1.0 AND Unlicense
URL: https://github.com/open-quantum-safe/liboqs.git
Source: https://github.com/open-quantum-safe/liboqs/archive/refs/tags/%{oqs_version}.tar.gz
Patch1: liboqs-0.10.0-dlopen-openssl.patch
BuildRequires: ninja-build
BuildRequires: cmake
@ -60,7 +61,7 @@ sed -e '/COMMAND.*pytest/s|$| --ignore tests/test_code_conventions.py|' \
-i tests/CMakeLists.txt
%build
%cmake -GNinja -DBUILD_SHARED_LIBS=ON -DOQS_USE_AES_OPENSSL=ON -DOQS_USE_AES_INSTRUCTIONS=OFF -DOQS_DIST_BUILD=ON -DOQS_ALGS_ENABLED=STD -DOQS_USE_SHA3_OPENSSL=ON -DCMAKE_BUILD_TYPE=Debug -LAH ..
%cmake -GNinja -DBUILD_SHARED_LIBS=ON -DOQS_USE_AES_OPENSSL=ON -DOQS_USE_AES_INSTRUCTIONS=OFF -DOQS_DIST_BUILD=ON -DOQS_ALGS_ENABLED=STD -DOQS_USE_SHA3_OPENSSL=ON -DOQS_DLOPEN_OPENSSL=ON -DCMAKE_BUILD_TYPE=Debug -LAH ..
%cmake_build
#ninja gen_docs
@ -100,6 +101,8 @@ done
* Mon Jul 08 2024 Dmitry Belyavskiy - 0.10.1-1
- Rebase to 0.10.1 version (CVE-2024-36405)
Resolves: RHEL-40699
- Use dlopen for OpenSSL algos implementation
Resolves: RHEL-46598
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 0.9.2-2
- Bump release for June 2024 mass rebuild