aboutsummaryrefslogtreecommitdiff
path: root/rcynic
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2013-03-25 23:25:49 +0000
committerRob Austein <sra@hactrn.net>2013-03-25 23:25:49 +0000
commita0895f4d6d7f306d241c6a1e742723b34f4ee7cc (patch)
tree28ed4a27d043cf999e7adb32fb2d45918a4dda28 /rcynic
parentc33869628a1b06eff50f54e91fbfc8c9bedf2dcf (diff)
The URI in a TAL MUST be a certificate matching the RPKI profile,
which implies that its name must end in ".cer". Fixes #492. svn path=/trunk/; revision=5215
Diffstat (limited to 'rcynic')
-rw-r--r--rcynic/rcynic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rcynic/rcynic.c b/rcynic/rcynic.c
index fdadc6ea..7837737c 100644
--- a/rcynic/rcynic.c
+++ b/rcynic/rcynic.c
@@ -5541,7 +5541,7 @@ int main(int argc, char *argv[])
bio = NULL;
continue;
}
- if (endswith(uri.s, "/")) {
+ if (!endswith(uri.s, ".cer")) {
log_validation_status(&rc, &uri, malformed_tal_uri, object_generation_null);
BIO_free_all(bio);
bio = NULL;