logo

oasis

Own branch of Oasis Linux (upstream: <https://git.sr.ht/~mcf/oasis/>) git clone https://anongit.hacktivis.me/git/oasis.git

0040-acme-client-Fix-enum-int-mismatch-in-declaration-of-.patch (936B)


  1. From ef9e08a9597e02425f9da0f43486e0cdfa1a4a1e 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. usr.sbin/acme-client/extern.h | 2 +-
  8. 1 file changed, 1 insertion(+), 1 deletion(-)
  9. diff --git a/usr.sbin/acme-client/extern.h b/usr.sbin/acme-client/extern.h
  10. index 990c784f706..32127182548 100644
  11. --- a/usr.sbin/acme-client/extern.h
  12. +++ b/usr.sbin/acme-client/extern.h
  13. @@ -249,7 +249,7 @@ char *base64buf_url(const unsigned char *, size_t);
  14. */
  15. struct jsmnn *json_parse(const char *, size_t);
  16. void json_free(struct jsmnn *);
  17. -int json_parse_response(struct jsmnn *);
  18. +enum chngstatus json_parse_response(struct jsmnn *);
  19. void json_free_challenge(struct chng *);
  20. int json_parse_challenge(struct jsmnn *, struct chng *);
  21. void json_free_order(struct order *);
  22. --
  23. 2.54.0