From 90edfdd461c5d76bc96b5f98e19afc249e43931c Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Wed, 7 Aug 2019 18:18:10 +0300 Subject: Fix pkcs11 agent to properly change CWD to root directory --- openssl/agent/pkcs11/agent.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ()); -- cgit v1.1