summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2022-11-28 15:22:14 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2022-11-28 15:22:14 +0000
commit26d0119144f49a906b9d2ac784a565abb1fc75f2 (patch)
tree691832eab99ea52d7686be9ccf1256c71dac55fe /usr.sbin
parenta7d9382a9e388c8507f7c5aa0b510ba193fe12ba (diff)
Use ssize_t instead of int as requested on review
discussed with job
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/rpki-client/geofeed.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/rpki-client/geofeed.c b/usr.sbin/rpki-client/geofeed.c
index 4c465315ec3..631d59a0bdc 100644
--- a/usr.sbin/rpki-client/geofeed.c
+++ b/usr.sbin/rpki-client/geofeed.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: geofeed.c,v 1.6 2022/11/27 20:50:09 job Exp $ */
+/* $OpenBSD: geofeed.c,v 1.7 2022/11/28 15:22:13 tb Exp $ */
/*
* Copyright (c) 2022 Job Snijders <job@fastly.com>
* Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
@@ -101,7 +101,7 @@ geofeed_parse(X509 **x509, const char *fn, char *buf, size_t len)
{
struct parse p;
char *delim, *line, *loc, *nl;
- int linelen;
+ ssize_t linelen;
BIO *bio;
char *b64 = NULL;
size_t b64sz;