diff options
| author | tb <> | 2026-07-29 02:16:37 +0000 |
|---|---|---|
| committer | tb <> | 2026-07-29 02:16:37 +0000 |
| commit | 2f243964bad8ba751fc309a09e4a36b2bcc00e79 (patch) | |
| tree | 09b2da43e7c2e565c6b1619b50fa8d5aa53413d2 | |
| parent | 37b0068943e39b3aceb9f9069c9249d20e5b9da5 (diff) | |
| download | openbsd-2f243964bad8ba751fc309a09e4a36b2bcc00e79.tar.gz openbsd-2f243964bad8ba751fc309a09e4a36b2bcc00e79.tar.bz2 openbsd-2f243964bad8ba751fc309a09e4a36b2bcc00e79.zip | |
timingsafe test: make check() static
| -rw-r--r-- | src/regress/lib/libc/timingsafe/timingsafe.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/regress/lib/libc/timingsafe/timingsafe.c b/src/regress/lib/libc/timingsafe/timingsafe.c index d768a808b6..6e3461cd27 100644 --- a/src/regress/lib/libc/timingsafe/timingsafe.c +++ b/src/regress/lib/libc/timingsafe/timingsafe.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: timingsafe.c,v 1.4 2024/02/04 20:51:21 tb Exp $ */ | 1 | /* $OpenBSD: timingsafe.c,v 1.5 2026/07/29 02:16:37 tb Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Copyright (c) 2014 Google Inc. | 3 | * Copyright (c) 2014 Google Inc. |
| 4 | * | 4 | * |
| @@ -27,7 +27,7 @@ enum { | |||
| 27 | 27 | ||
| 28 | static unsigned char bufone[N], buftwo[N]; | 28 | static unsigned char bufone[N], buftwo[N]; |
| 29 | 29 | ||
| 30 | void | 30 | static void |
| 31 | check(void) | 31 | check(void) |
| 32 | { | 32 | { |
| 33 | int cmp = memcmp(bufone, buftwo, N); | 33 | int cmp = memcmp(bufone, buftwo, N); |
