diff options
-rw-r--r-- | openssl/agent/pkcs11/agent.cxx | 2 | ||||
-rw-r--r-- | openssl/utility.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/openssl/agent/pkcs11/agent.cxx b/openssl/agent/pkcs11/agent.cxx index b43b625..8655bdf 100644 --- a/openssl/agent/pkcs11/agent.cxx +++ b/openssl/agent/pkcs11/agent.cxx @@ -407,7 +407,7 @@ namespace openssl dir_path::current_directory (dir_path ("/")); - auto_fd nd (fdnull ()); + auto_fd nd (fdopen_null ()); auto redir = [&nd] (int sd) { diff --git a/openssl/utility.hxx b/openssl/utility.hxx index 74e20dc..adbbd67 100644 --- a/openssl/utility.hxx +++ b/openssl/utility.hxx @@ -61,7 +61,7 @@ namespace openssl // using butl::stdin_fdmode; using butl::stdout_fdmode; - using butl::fdnull; + using butl::fdopen_null; using butl::fddup; // Securely clear a memory buffer. |