From eb75bc5afbaf2891a2db71e7932105223da94ac9 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 16 Mar 2018 12:03:18 +0100 Subject: [PATCH] Don't retry on CURLE_SSL_CACERT_BADFILE The certificates won't get any better if we retry. --- src/libstore/download.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libstore/download.cc b/src/libstore/download.cc index 9d9f1153f..6eb870966 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