]> git.ipfire.org Git - thirdparty/FORT-validator.git/commitdiff
Fix (early) bug, wasn't retrying mft download when it should be.
authorpcarana <pc.moreno2099@gmail.com>
Wed, 11 Dec 2019 00:45:18 +0000 (18:45 -0600)
committerpcarana <pc.moreno2099@gmail.com>
Wed, 11 Dec 2019 00:45:18 +0000 (18:45 -0600)
src/object/certificate.c

index de8dcf3fcd56525277db55be1946be6489b0f7ff..85ac1aefe991ab3545c976f5ea5b4950f61f1006 100644 (file)
@@ -2078,11 +2078,12 @@ certificate_traverse(struct rpp *rpp_parent, struct rpki_uri *cert_uri)
                break;
        case CA:
                if (!visited_uris_exists(uri_get_global(sia_uris.mft.uri))) {
-                       mft_exists = true;
                        error = use_access_method(&sia_uris, exec_rsync_method,
                            exec_rrdp_method);
                        if (error)
                                return error;
+               } else {
+                       mft_exists = true;
                }
                break;
        default: