From 36fc3a9bf8f3cdb1bedbb1b88b361e1b3cae9031 Mon Sep 17 00:00:00 2001 From: claudio Date: Fri, 26 Mar 2021 16:03:29 +0000 Subject: [PATCH] Compare filepath with strcmp() and not strcasecmp(). The URI in RPKI are case sensitive. OK tb@ --- usr.sbin/rpki-client/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/rpki-client/main.c b/usr.sbin/rpki-client/main.c index 3d88e299d88..74ed9b44057 100644 --- a/usr.sbin/rpki-client/main.c +++ b/usr.sbin/rpki-client/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.124 2021/03/26 10:01:51 claudio Exp $ */ +/* $OpenBSD: main.c,v 1.125 2021/03/26 16:03:29 claudio Exp $ */ /* * Copyright (c) 2019 Kristaps Dzonsons * @@ -86,7 +86,7 @@ struct filepath { static inline int filepathcmp(struct filepath *a, struct filepath *b) { - return strcasecmp(a->file, b->file); + return strcmp(a->file, b->file); } RB_HEAD(filepath_tree, filepath); -- 2.20.1