if (primary_rrdp) {
if (error != -EPERM)
- pr_warn("Couldn't fetch data from RRDP repository '%s', trying to fetch data now from '%s'.",
+ pr_info("Couldn't fetch data from RRDP repository '%s', trying to fetch data now from '%s'.",
uri_get_global(sia_uris->rpkiNotify.uri),
uri_get_global(sia_uris->caRepository.uri));
else
- pr_debug("RRDP repository '%s' download/processing returned error previously, now I will try to fetch data from '%s'.",
+ pr_info("RRDP repository '%s' download/processing returned error previously, now I will try to fetch data from '%s'.",
uri_get_global(sia_uris->rpkiNotify.uri),
uri_get_global(sia_uris->caRepository.uri));
} else {
- pr_warn("Couldn't fetch data from repository '%s', trying to fetch data now from RRDP '%s'.",
+ pr_info("Couldn't fetch data from repository '%s', trying to fetch data now from RRDP '%s'.",
uri_get_global(sia_uris->caRepository.uri),
uri_get_global(sia_uris->rpkiNotify.uri));
}
break;
}
/* Something went wrong, use snapshot */
- pr_warn("There was an error processing RRDP deltas, using the snapshot instead.");
+ pr_info("There was an error processing RRDP deltas, using the snapshot instead.");
case RRDP_URI_NOTFOUND:
error = process_snapshot(upd_notification, &visited);
if (error)
tmp->doc_data.hash_len);
uri_refput(uri);
if (error != 0) {
- error = pr_err("Hash of base64 decoded element from URI '%s' doesn't match <publish> element hash",
+ pr_info("Hash of base64 decoded element from URI '%s' doesn't match <publish> element hash",
tmp->doc_data.uri);
+ error = EINVAL;
goto release_base64;
}
}