aboutsummaryrefslogtreecommitdiff
path: root/openssl/agent/pkcs11/private-key.test.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2020-06-19 13:05:00 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2020-06-19 13:06:52 +0300
commit994862bfd1864cc2079cdb7b870df09b875e39ba (patch)
treecf3435164bf71037c437eb203460a1a234753d38 /openssl/agent/pkcs11/private-key.test.cxx
parentc018d3af9d543140ed3a6d49df650bee26c6dcfd (diff)
Fix GCC 10 compilation error
Diffstat (limited to 'openssl/agent/pkcs11/private-key.test.cxx')
-rw-r--r--openssl/agent/pkcs11/private-key.test.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/openssl/agent/pkcs11/private-key.test.cxx b/openssl/agent/pkcs11/private-key.test.cxx
index 5c29c31..801a753 100644
--- a/openssl/agent/pkcs11/private-key.test.cxx
+++ b/openssl/agent/pkcs11/private-key.test.cxx
@@ -15,6 +15,7 @@ int
main (int argc, char* argv[])
{
using namespace std;
+ using namespace openssl;
using namespace openssl::agent::pkcs11;
if (argc != 2)
@@ -28,9 +29,9 @@ main (int argc, char* argv[])
try
{
- url u (argv[1]);
- identity idn (u);
- access acc (u);
+ url u (argv[1]);
+ agent::pkcs11::identity idn (u);
+ access acc (u);
vector<char> data ((istreambuf_iterator<char> (cin)),
istreambuf_iterator<char> ());