shim: don't clear environment when invoking handshaker.
Change-Id: I266bf4dfbbc9b1867fbc91d44393c3f0a6ea9391 Reviewed-on: https://boringssl-review.googlesource.com/31405 Reviewed-by: Adam Langley <agl@google.com>
This commit is contained in:
parent
6855e0a470
commit
e768212e7d
@ -349,7 +349,7 @@ static bool RunHandshaker(BIO *bio, const TestConfig *config, bool is_resume,
|
|||||||
// it to -1.
|
// it to -1.
|
||||||
pid_t handshaker_pid = -1;
|
pid_t handshaker_pid = -1;
|
||||||
int ret = posix_spawn(&handshaker_pid, args[0], &actions, nullptr,
|
int ret = posix_spawn(&handshaker_pid, args[0], &actions, nullptr,
|
||||||
args.data(), nullptr);
|
args.data(), environ);
|
||||||
if (posix_spawn_file_actions_destroy(&actions) != 0 ||
|
if (posix_spawn_file_actions_destroy(&actions) != 0 ||
|
||||||
ret != 0) {
|
ret != 0) {
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user