0040-acme-client-Fix-enum-int-mismatch-in-declaration-of-.patch (936B)
1 From 87c6da40a600a00d331d1d7f8968fd4ee933377a Mon Sep 17 00:00:00 2001 2 From: Michael Forney <mforney@mforney.org> 3 Date: Wed, 4 Mar 2026 15:27:54 -0800 4 Subject: [PATCH] acme-client: Fix enum/int mismatch in declaration of 5 json_parse_response 6 7 --- 8 usr.sbin/acme-client/extern.h | 2 +- 9 1 file changed, 1 insertion(+), 1 deletion(-) 10 11 diff --git a/usr.sbin/acme-client/extern.h b/usr.sbin/acme-client/extern.h 12 index 37820e6cfb6..3c780ebf777 100644 13 --- a/usr.sbin/acme-client/extern.h 14 +++ b/usr.sbin/acme-client/extern.h 15 @@ -252,7 +252,7 @@ char *base64buf_url(const unsigned char *, size_t); 16 */ 17 struct jsmnn *json_parse(const char *, size_t); 18 void json_free(struct jsmnn *); 19 -int json_parse_response(struct jsmnn *); 20 +enum chngstatus json_parse_response(struct jsmnn *); 21 void json_free_challenge(struct chng *); 22 int json_parse_challenge(struct jsmnn *, struct chng *); 23 void json_free_order(struct order *); 24 -- 25 2.49.0 26