|
|
|
@ -15,7 +15,7 @@
|
|
|
|
|
Summary: Utilities from the general purpose cryptography library with TLS implementation
|
|
|
|
|
Name: openssl
|
|
|
|
|
Version: 3.0.1
|
|
|
|
|
Release: 5%{?dist}
|
|
|
|
|
Release: 6%{?dist}
|
|
|
|
|
Epoch: 1
|
|
|
|
|
# We have to remove certain patented algorithms from the openssl source
|
|
|
|
|
# tarball with the hobble-openssl script which is included below.
|
|
|
|
@ -203,6 +203,7 @@ RPM_OPT_FLAGS="$RPM_OPT_FLAGS -Wa,--noexecstack -Wa,--generate-missing-build-not
|
|
|
|
|
|
|
|
|
|
export HASHBANGPERL=/usr/bin/perl
|
|
|
|
|
|
|
|
|
|
%define fips %{version}-%(date +%Y%m%d)
|
|
|
|
|
# ia64, x86_64, ppc are OK by default
|
|
|
|
|
# Configure the build tree. Override OpenSSL defaults with known-good defaults
|
|
|
|
|
# usable on all platforms. The Configure script already knows to use -fPIC and
|
|
|
|
@ -213,7 +214,7 @@ export HASHBANGPERL=/usr/bin/perl
|
|
|
|
|
zlib enable-camellia enable-seed enable-rfc3779 enable-sctp \
|
|
|
|
|
enable-cms enable-md2 enable-rc5 enable-ktls enable-fips\
|
|
|
|
|
no-mdc2 no-ec2m no-sm2 no-sm4 enable-buildtest-c++\
|
|
|
|
|
shared ${sslarch} $RPM_OPT_FLAGS '-DDEVRANDOM="\"/dev/urandom\""'
|
|
|
|
|
shared ${sslarch} $RPM_OPT_FLAGS '-DDEVRANDOM="\"/dev/urandom\"" -DREDHAT_FIPS_VERSION="\"%{fips}\""'
|
|
|
|
|
|
|
|
|
|
# Do not run this in a production package the FIPS symbols must be patched-in
|
|
|
|
|
#util/mkdef.pl crypto update
|
|
|
|
@ -398,6 +399,10 @@ install -m644 %{SOURCE9} \
|
|
|
|
|
%ldconfig_scriptlets libs
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Feb 01 2022 Dmitry Belyavskiy <dbelyavs@redhat.com> - 1:3.0.1-6
|
|
|
|
|
- Adjust FIPS provider version
|
|
|
|
|
- Related: rhbz#2026445
|
|
|
|
|
|
|
|
|
|
* Wed Jan 26 2022 Dmitry Belyavskiy <dbelyavs@redhat.com> - 1:3.0.1-5
|
|
|
|
|
- On the s390x, zeroize all the copies of TLS premaster secret
|
|
|
|
|
- Related: rhbz#2040448
|
|
|
|
|