diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2019-08-07 18:18:10 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2019-08-07 18:18:10 +0300 |
commit | 90edfdd461c5d76bc96b5f98e19afc249e43931c (patch) | |
tree | 8b76a0806f148e5af736186ae9202835c55b96d7 /openssl/agent/pkcs11 | |
parent | 2197a0b7d57ac3ef68660c9b4b08ea0df42cb552 (diff) |
Fix pkcs11 agent to properly change CWD to root directory
Diffstat (limited to 'openssl/agent/pkcs11')
-rw-r--r-- | openssl/agent/pkcs11/agent.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openssl/agent/pkcs11/agent.cxx b/openssl/agent/pkcs11/agent.cxx index dc85b6d..d21d8b9 100644 --- a/openssl/agent/pkcs11/agent.cxx +++ b/openssl/agent/pkcs11/agent.cxx @@ -406,7 +406,7 @@ namespace openssl if (setsid () == -1) throw_system_error (errno); - path ("/").current_directory (); + dir_path::current_directory (dir_path ("/")); auto_fd nd (fdnull ()); |