Fix FTP VERIFCERTERR handling (#1475861)

This commit is contained in:
Artem Egorenkov 2020-06-30 15:13:47 +02:00
parent 23bbfe5beb
commit 1f75ed007a
2 changed files with 17 additions and 1 deletions

View File

@ -0,0 +1,12 @@
diff --git a/src/ftp.c b/src/ftp.c
index 03d7deb..94dc55f 100644
--- a/src/ftp.c
+++ b/src/ftp.c
@@ -1974,6 +1974,7 @@ ftp_loop_internal (struct url *u, struct url *original_url, struct fileinfo *f,
case HOSTERR: case CONIMPOSSIBLE: case FWRITEERR: case FOPENERR:
case FTPNSFOD: case FTPLOGINC: case FTPNOPASV: case FTPNOAUTH: case FTPNOPBSZ: case FTPNOPROT:
case UNLINKERR: case WARC_TMP_FWRITEERR: case CONSSLERR: case CONTNOTSUPPORTED:
+ case VERIFCERTERR:
#ifdef HAVE_SSL
if (err == FTPNOAUTH)
logputs (LOG_NOTQUIET, "Server does not support AUTH TLS.\n");

View File

@ -1,7 +1,7 @@
Summary: A utility for retrieving files using the HTTP or FTP protocols
Name: wget
Version: 1.20.3
Release: 4%{?dist}
Release: 5%{?dist}
License: GPLv3+
Url: http://www.gnu.org/software/wget/
Source: ftp://ftp.gnu.org/gnu/wget/wget-%{version}.tar.gz
@ -10,6 +10,7 @@ Patch1: wget-1.17-path.patch
Patch2: wget-1.20.3-remove-unneeded-debug-lines.patch
# http://git.savannah.gnu.org/cgit/wget.git/commit/?id=04b7369490344d014b05dee5d48ca78cd04733ce
Patch3: wget-1.20.3-Fix-multiple-definition-of-with-gcc-10.patch
Patch4: wget-1.20.3-bz1475861-ftp-verifcerterr-hadling.patch
Provides: webclient
Provides: bundled(gnulib)
@ -68,6 +69,9 @@ make check
%{_infodir}/*
%changelog
* Wed Jun 24 2020 Artem Egorenkov <aegorenk@redhat.com> - 1.20.3-5
- Fix FTP VERIFCERTERR handling (#1475861)
* Tue Feb 25 2020 Tomas Hozza <thozza@redhat.com> - 1.20.3-4
- Fix FTBFS with new gcc (#1800250)