diff options
| author | Mattias Andrée <m@maandree.se> | 2026-05-04 11:34:58 +0200 |
|---|---|---|
| committer | Mattias Andrée <m@maandree.se> | 2026-05-04 11:34:58 +0200 |
| commit | 88749b1c04888ea965720cb8f2ec60c32075386c (patch) | |
| tree | 7c3471162ba98d6513863fa8e06b0c4133b7084a /test.c | |
| parent | fix doc (diff) | |
| download | libsha2-1.1.4.tar.gz libsha2-1.1.4.tar.bz2 libsha2-1.1.4.tar.xz | |
Fix aarch64 support1.1.4
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to '')
| -rw-r--r-- | test.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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]); |
