aboutsummaryrefslogtreecommitdiff
path: root/openssl/agent/pkcs11/agent.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'openssl/agent/pkcs11/agent.cxx')
-rw-r--r--openssl/agent/pkcs11/agent.cxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/openssl/agent/pkcs11/agent.cxx b/openssl/agent/pkcs11/agent.cxx
index 12b273c..2a7af90 100644
--- a/openssl/agent/pkcs11/agent.cxx
+++ b/openssl/agent/pkcs11/agent.cxx
@@ -135,9 +135,11 @@ namespace openssl
// Creates the socket filesystem entry.
//
- if (bind (sock.get (),
- reinterpret_cast<sockaddr*> (&addr),
- sizeof (addr)) == -1)
+ // Not to confuse with std::bind().
+ //
+ if (::bind (sock.get (),
+ reinterpret_cast<sockaddr*> (&addr),
+ sizeof (addr)) == -1)
throw_system_error (errno);
auto_rmfile rm (sock_path);