Fix for #2014743 - wget regression SSL_INIT output even with --quiet enabled

This commit is contained in:
Michal Ruprich 2021-10-20 08:09:40 +02:00
parent 5025d2c2f4
commit b9bd21f752
2 changed files with 26 additions and 1 deletions

View File

@ -0,0 +1,21 @@
diff --git a/src/gnutls.c b/src/gnutls.c
index 0ecf2c81..81fe9518 100644
--- a/src/gnutls.c
+++ b/src/gnutls.c
@@ -99,7 +99,6 @@ static gnutls_certificate_credentials_t credentials;
bool
ssl_init (void)
{
- fprintf(stderr,"SSL_INIT\n");
/* Becomes true if GnuTLS is initialized. */
const char *ca_directory;
DIR *dir;
@@ -237,8 +236,6 @@ cert to be of the same type.\n"));
void
ssl_cleanup (void)
{
- fprintf(stderr,"SSL_CLEANUP\n");
-
if (!ssl_initialized)
return;

View File

@ -1,13 +1,14 @@
Summary: A utility for retrieving files using the HTTP or FTP protocols
Name: wget
Version: 1.21.2
Release: 1%{?dist}
Release: 2%{?dist}
License: GPLv3+
Url: http://www.gnu.org/software/wget/
Source: ftp://ftp.gnu.org/gnu/wget/wget-%{version}.tar.gz
Patch1: wget-1.17-path.patch
Patch2: wget-1.21-segfault.patch
Patch3: wget-1.21-ssl-init-output.patch
Provides: webclient
Provides: bundled(gnulib)
@ -84,6 +85,9 @@ make check
%{_infodir}/*
%changelog
* Tue Oct 19 2021 Michal Ruprich <mruprich@redhat.com> - 1.21.2-2
- Fix for #2014743 - wget regression SSL_INIT output even with --quiet enabled
* Mon Oct 11 2021 Michal Ruprich <mruprich@redhat.com> - 1.21.2-1
- New version 1.21.2
- Fix for #2010039 - [abrt] wget: find_cell(): wget killed by SIGSEGV