diff options
| author | tb <> | 2025-10-07 15:41:19 +0000 |
|---|---|---|
| committer | tb <> | 2025-10-07 15:41:19 +0000 |
| commit | 1e4b66632494f1193c5f5366fc060704063c72fc (patch) | |
| tree | 74b3f311b2ea774933971f9607dd64efc9036455 /src | |
| parent | 71f2342f29725a25fb623ca64baee5b85cfa951e (diff) | |
| download | openbsd-1e4b66632494f1193c5f5366fc060704063c72fc.tar.gz openbsd-1e4b66632494f1193c5f5366fc060704063c72fc.tar.bz2 openbsd-1e4b66632494f1193c5f5366fc060704063c72fc.zip | |
Revert previous. Let's deal with it when the portable release is out.
Diffstat (limited to 'src')
| -rw-r--r-- | src/regress/lib/libcrypto/test/test.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/regress/lib/libcrypto/test/test.c b/src/regress/lib/libcrypto/test/test.c index af30e33e5e..c99e2c6acc 100644 --- a/src/regress/lib/libcrypto/test/test.c +++ b/src/regress/lib/libcrypto/test/test.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: test.c,v 1.5 2025/10/07 15:36:30 tb Exp $ */ | 1 | /* $OpenBSD: test.c,v 1.6 2025/10/07 15:41:19 tb Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Copyright (c) 2025 Joshua Sing <joshua@joshuasing.dev> | 3 | * Copyright (c) 2025 Joshua Sing <joshua@joshuasing.dev> |
| 4 | * | 4 | * |
| @@ -24,10 +24,6 @@ | |||
| 24 | 24 | ||
| 25 | #include "test.h" | 25 | #include "test.h" |
| 26 | 26 | ||
| 27 | #ifndef TEST_TEMP | ||
| 28 | #define TEST_TEMP "/tmp/" | ||
| 29 | #endif | ||
| 30 | |||
| 31 | struct test { | 27 | struct test { |
| 32 | struct test *parent; | 28 | struct test *parent; |
| 33 | char *name; | 29 | char *name; |
| @@ -71,8 +67,8 @@ test_init(void) | |||
| 71 | return t; | 67 | return t; |
| 72 | 68 | ||
| 73 | /* Create a temporary file for logging in non-verbose mode */ | 69 | /* Create a temporary file for logging in non-verbose mode */ |
| 74 | if ((asprintf(&tmp_file, "%slibressl-test.XXXXXXXX", TEST_TEMP)) == -1) | 70 | if ((tmp_file = strdup("/tmp/libressl-test.XXXXXXXX")) == NULL) |
| 75 | err(1, "asprintf"); | 71 | err(1, "strdup"); |
| 76 | if ((out_fd = mkstemp(tmp_file)) == -1) | 72 | if ((out_fd = mkstemp(tmp_file)) == -1) |
| 77 | err(1, "mkstemp"); | 73 | err(1, "mkstemp"); |
| 78 | 74 | ||
