From: claudio Date: Fri, 26 Mar 2021 16:03:29 +0000 (+0000) Subject: Compare filepath with strcmp() and not strcasecmp(). The URI in RPKI are X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=36fc3a9bf8f3cdb1bedbb1b88b361e1b3cae9031;p=openbsd Compare filepath with strcmp() and not strcasecmp(). The URI in RPKI are case sensitive. OK tb@ --- 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);