Bump linked libs soname to fix FIPS self-tests

Resolves: rhbz#1835265
This commit is contained in:
Anderson Toshiyuki Sasaki 2020-05-14 10:59:56 +02:00
parent fbf404e4b2
commit 5de0851cf9
2 changed files with 18 additions and 1 deletions

View File

@ -0,0 +1,13 @@
--- a/lib/fips.c 2020-01-01 21:10:19.000000000 +0100
+++ b/lib/fips.c 2020-05-13 17:29:43.098868100 +0200
@@ -136,8 +136,8 @@
}
#define GNUTLS_LIBRARY_NAME "libgnutls.so.30"
-#define NETTLE_LIBRARY_NAME "libnettle.so.6"
-#define HOGWEED_LIBRARY_NAME "libhogweed.so.4"
+#define NETTLE_LIBRARY_NAME "libnettle.so.8"
+#define HOGWEED_LIBRARY_NAME "libhogweed.so.6"
#define GMP_LIBRARY_NAME "libgmp.so.10"
#define HMAC_SUFFIX ".hmac"

View File

@ -1,8 +1,9 @@
# This spec file has been automatically updated
Version: 3.6.13
Release: 1%{?dist}
Release: 2%{?dist}
Patch1: gnutls-3.6.7-no-now-guile.patch
Patch2: gnutls-3.2.7-rpath.patch
Patch3: gnutls-3.6.13-bump-linked-libs-soname-f33.patch
%bcond_without dane
%if 0%{?rhel}
%bcond_with guile
@ -279,6 +280,9 @@ make check %{?_smp_mflags} GNUTLS_SYSTEM_PRIORITY_FILE=/dev/null
%endif
%changelog
* Thu May 14 2020 Anderson Sasaki <ansasaki@redhat.com> - 3.6.13-2
- Bump linked libraries soname to fix FIPS selftests (#1835265)
* Tue Mar 31 2020 Daiki Ueno <dueno@redhat.com> - 3.6.13-1
- Update to upstream 3.6.13 release