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