From 88749b1c04888ea965720cb8f2ec60c32075386c Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 4 May 2026 11:34:58 +0200 Subject: Fix aarch64 support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- test.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test.c') diff --git a/test.c b/test.c index 42e0597..b5fba45 100644 --- a/test.c +++ b/test.c @@ -349,7 +349,9 @@ main(int argc, char *argv[]) exit(0); } close(fds[1]); + test(!errno); test(!libsha2_sum_fd(fds[0], LIBSHA2_256, buf)); + errno = 0; /* malloc(3) as been found to set errno=ENOENT on success */ test(waitpid(pid, &status, 0) == pid); test(!status); close(fds[0]); -- cgit v1.2.3-70-g09d2