+Whenever an RRDP repository can't be fetched, an attempt to work with local files must be done. If RSYNC was disabled and there was an error fetching the RRDP repository, the next time that repository was found on a certificate, it was being rejected; the right thing to do, is to consider such scenario and keep working locally.
/* Log that we'll try to work with a local copy */
pr_val_warn("Trying to work with the local cache files.");
break;
+ case -EPERM:
+ /*
+ * Specific RRPD error: the URI error'd on the first try, so
+ * we'll keep trying with the local files
+ */
+ break;
default:
return error;
}