From 263123e7b4f1cbe24c7ad8c25ab23602cd79f3a1 Mon Sep 17 00:00:00 2001 From: Daniel Pouzzner Date: Tue, 25 Oct 2022 12:06:50 -0500 Subject: [PATCH] wolfssl/test.h: add unsigned attribute to type of buffer passed to wolfsentry_config_json_feed() (sync with wolfsentry e22878b666). --- wolfssl/test.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wolfssl/test.h b/wolfssl/test.h index ad4076eac..e9024d511 100644 --- a/wolfssl/test.h +++ b/wolfssl/test.h @@ -1585,7 +1585,8 @@ static int wolfsentry_setup( #if !defined(NO_FILESYSTEM) && !defined(WOLFSENTRY_NO_JSON) if (_wolfsentry_config_path != NULL) { - char buf[512], err_buf[512]; + unsigned char buf[512]; + char err_buf[512]; struct wolfsentry_json_process_state *jps; FILE *f = fopen(_wolfsentry_config_path, "r");