Load OpenSSL libcrypto.so on demand through dlopen
Signed-off-by: Daiki Ueno <dueno@redhat.com>
This commit is contained in:
parent
fa7d563dbe
commit
b88bf9c117
4189
liboqs-0.10.0-dlopen-openssl.patch
Normal file
4189
liboqs-0.10.0-dlopen-openssl.patch
Normal file
File diff suppressed because it is too large
Load Diff
@ -1,7 +1,7 @@
|
||||
%global oqs_version 0.10.0
|
||||
Name: liboqs
|
||||
Version: %{oqs_version}
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: liboqs is an open source C library for quantum-safe cryptographic algorithms.
|
||||
|
||||
#liboqs uses MIT license by itself but includes several files licensed under different terms.
|
||||
@ -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/0.10.0.tar.gz
|
||||
Patch: 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
|
||||
|
||||
@ -97,6 +98,9 @@ done
|
||||
#%doc %%{_datadir}/doc/oqs/xml/*
|
||||
|
||||
%changelog
|
||||
* Wed Apr 24 2024 Daiki Ueno <dueno@redhat.com> - 0.10.0-2
|
||||
- Load OpenSSL libcrypto.so on demand through dlopen
|
||||
|
||||
* Wed Mar 27 2024 Dmitry Belyavskiy <dbelyavs@redhat.com> - 0.10.0-1
|
||||
- Update to 0.10.0 version
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user