mirror of
https://github.com/mirror/wget.git
synced 2025-01-30 22:30:13 +08:00
* src/ftp.c (ftp_loop_internal): Check for VERIFCERTERR to avoid SIGABRT
There is a bug that causes wget to exit with SIGABRT when trying to receive files through FTP from a server with a certificate that failed the verification. The bug is filed in RedHat Bugzilla for Fedora: https://bugzilla.redhat.com/show_bug.cgi?id=1475861 Reported-by: Artem Egorenkov <aegorenk@redhat.com>
This commit is contained in:
parent
e830f5f42b
commit
1656a1628c
@ -1984,6 +1984,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");
|
||||
|
Loading…
Reference in New Issue
Block a user