artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76a9e5e
)
Use ssize_t instead of int as requested on review
author
tb
<tb@openbsd.org>
Mon, 28 Nov 2022 15:22:13 +0000
(15:22 +0000)
committer
tb
<tb@openbsd.org>
Mon, 28 Nov 2022 15:22:13 +0000
(15:22 +0000)
discussed with job
usr.sbin/rpki-client/geofeed.c
patch
|
blob
|
history
diff --git
a/usr.sbin/rpki-client/geofeed.c
b/usr.sbin/rpki-client/geofeed.c
index
4c46531
..
631d59a
100644
(file)
--- 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 jo
b Exp $ */
+/* $OpenBSD: geofeed.c,v 1.
7 2022/11/28 15:22:13 t
b 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;