summaryrefslogtreecommitdiff
path: root/src/ssl/test/handshake_util.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/ssl/test/handshake_util.cc')
-rw-r--r--src/ssl/test/handshake_util.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ssl/test/handshake_util.cc b/src/ssl/test/handshake_util.cc
index f8396539..a36b41a8 100644
--- a/src/ssl/test/handshake_util.cc
+++ b/src/ssl/test/handshake_util.cc
@@ -349,7 +349,7 @@ static bool RunHandshaker(BIO *bio, const TestConfig *config, bool is_resume,
// it to -1.
pid_t handshaker_pid = -1;
int ret = posix_spawn(&handshaker_pid, args[0], &actions, nullptr,
- args.data(), nullptr);
+ args.data(), environ);
if (posix_spawn_file_actions_destroy(&actions) != 0 ||
ret != 0) {
return false;