Don't retry on CURLE_SSL_CACERT_BADFILE

The certificates won't get any better if we retry.
This commit is contained in:
Eelco Dolstra 2018-03-16 12:03:18 +01:00
parent 4868721506
commit eb75bc5afb
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE

View file

@ -340,6 +340,7 @@ struct CurlDownloader : public Downloader
case CURLE_BAD_FUNCTION_ARGUMENT: case CURLE_BAD_FUNCTION_ARGUMENT:
case CURLE_INTERFACE_FAILED: case CURLE_INTERFACE_FAILED:
case CURLE_UNKNOWN_OPTION: case CURLE_UNKNOWN_OPTION:
case CURLE_SSL_CACERT_BADFILE:
err = Misc; err = Misc;
break; break;
default: // Shut up warnings default: // Shut up warnings