From d77a068f0e183db3a2a5fae8c89c55c55f79de6f Mon Sep 17 00:00:00 2001 From: Sahana Prasad Date: Mon, 6 Apr 2020 19:35:51 +0200 Subject: [PATCH] Removes warnings caused by the patch --- stunnel-5.56-default-tls-version.patch | 4 ++-- stunnel.spec | 7 +++++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/stunnel-5.56-default-tls-version.patch b/stunnel-5.56-default-tls-version.patch index e47739f..0f42b62 100644 --- a/stunnel-5.56-default-tls-version.patch +++ b/stunnel-5.56-default-tls-version.patch @@ -4,8 +4,8 @@ ICON_IMAGE load_icon_file(const char *); #endif -+#define USE_DEFAULT_TLS_VERSION ((long unsigned)-2) /* Use defaults in OpenSSL -+ crypto policies */ ++#define USE_DEFAULT_TLS_VERSION ((int)-2) /* Use defaults in OpenSSL ++ crypto policies */ + #endif /* defined PROTOTYPES_H */ diff --git a/stunnel.spec b/stunnel.spec index 2283eb6..fb3a18f 100644 --- a/stunnel.spec +++ b/stunnel.spec @@ -10,7 +10,7 @@ Summary: A TLS-encrypting socket wrapper Name: stunnel Version: 5.56 -Release: 4%{?dist} +Release: 5%{?dist} License: GPLv2 URL: http://www.stunnel.org/ Source0: https://www.stunnel.org/downloads/stunnel-%{version}.tar.gz @@ -138,7 +138,10 @@ make test || (for i in tests/logs/*.log ; do echo "$i": ; cat "$i" ; done) %systemd_postun_with_restart %{name}.service %changelog -* Tue Apr 06 2020 Sahana Prasad - 5.56-4 +* Mon Apr 06 2020 Sahana Prasad - 5.56-5 +- Removes warnings caused by the patch + +* Mon Apr 06 2020 Sahana Prasad - 5.56-4 - Adds default tls version patch to comply with OpenSSL crypto policies * Tue Mar 31 2020 Sahana Prasad - 5.56-3