diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2018-03-16T11·03+0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2018-03-16T11·03+0100 |
commit | eb75bc5afbaf2891a2db71e7932105223da94ac9 (patch) | |
tree | d00bd5326e1ae089e5a8e657c22a38c2db20fde7 /src/libstore | |
parent | 486872150638d56483c2bc429ba9e137d9974ee8 (diff) |
Don't retry on CURLE_SSL_CACERT_BADFILE
The certificates won't get any better if we retry.
Diffstat (limited to 'src/libstore')
-rw-r--r-- | src/libstore/download.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstore/download.cc b/src/libstore/download.cc index 9d9f1153f4d5..6eb87096692f 100644 --- a/src/libstore/download.cc +++ b/src/libstore/download.cc @@ -340,6 +340,7 @@ struct CurlDownloader : public Downloader case CURLE_BAD_FUNCTION_ARGUMENT: case CURLE_INTERFACE_FAILED: case CURLE_UNKNOWN_OPTION: + case CURLE_SSL_CACERT_BADFILE: err = Misc; break; default: // Shut up warnings |