summaryrefslogtreecommitdiff
path: root/usr.sbin/rpki-client/mft.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/rpki-client/mft.c')
-rw-r--r--usr.sbin/rpki-client/mft.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/rpki-client/mft.c b/usr.sbin/rpki-client/mft.c
index 4c87b993912..5173ec0ba1e 100644
--- a/usr.sbin/rpki-client/mft.c
+++ b/usr.sbin/rpki-client/mft.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mft.c,v 1.89 2023/03/13 19:54:36 job Exp $ */
+/* $OpenBSD: mft.c,v 1.90 2023/04/24 17:11:33 claudio Exp $ */
/*
* Copyright (c) 2022 Theo Buehler <tb@openbsd.org>
* Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
@@ -545,7 +545,7 @@ mft_compare(const struct mft *a, const struct mft *b)
return 0;
r = strcmp(a->seqnum, b->seqnum);
- if (r >= 0) /* a is greater or equal, prefer a */
+ if (r > 0) /* a is greater, prefer a */
return 1;
return 0;
}