Use ssize_t instead of int as requested on review
authortb <tb@openbsd.org>
Mon, 28 Nov 2022 15:22:13 +0000 (15:22 +0000)
committertb <tb@openbsd.org>
Mon, 28 Nov 2022 15:22:13 +0000 (15:22 +0000)
discussed with job

usr.sbin/rpki-client/geofeed.c

index 4c46531..631d59a 100644 (file)
@@ -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;