diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2020-06-19 13:05:00 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2020-06-19 13:06:52 +0300 |
commit | 994862bfd1864cc2079cdb7b870df09b875e39ba (patch) | |
tree | cf3435164bf71037c437eb203460a1a234753d38 /openssl/agent/pkcs11 | |
parent | c018d3af9d543140ed3a6d49df650bee26c6dcfd (diff) |
Fix GCC 10 compilation error
Diffstat (limited to 'openssl/agent/pkcs11')
-rw-r--r-- | openssl/agent/pkcs11/private-key.test.cxx | 7 | ||||
-rw-r--r-- | openssl/agent/pkcs11/url.test.cxx | 4 |
2 files changed, 6 insertions, 5 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> ()); diff --git a/openssl/agent/pkcs11/url.test.cxx b/openssl/agent/pkcs11/url.test.cxx index 834de07..20df02b 100644 --- a/openssl/agent/pkcs11/url.test.cxx +++ b/openssl/agent/pkcs11/url.test.cxx @@ -29,8 +29,8 @@ main () // Validate the URL attributes. // - identity idn (u); - access acc (u); + agent::pkcs11::identity idn (u); + access acc (u); cout << u << endl; } |