aboutsummaryrefslogtreecommitdiff
path: root/openssl/agent/pkcs11/private-key.test.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'openssl/agent/pkcs11/private-key.test.cxx')
-rw-r--r--openssl/agent/pkcs11/private-key.test.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/openssl/agent/pkcs11/private-key.test.cxx b/openssl/agent/pkcs11/private-key.test.cxx
index 801a753..6ec484e 100644
--- a/openssl/agent/pkcs11/private-key.test.cxx
+++ b/openssl/agent/pkcs11/private-key.test.cxx
@@ -6,6 +6,9 @@
#include <openssl/agent/pkcs11/url.hxx>
#include <openssl/agent/pkcs11/private-key.hxx>
+#undef NDEBUG
+#include <cassert>
+
// Usage: argv[0] <pkcs11-url>
//
// Create private_key object referenced by the <pkcs11-url>. Read data from
@@ -31,7 +34,7 @@ main (int argc, char* argv[])
{
url u (argv[1]);
agent::pkcs11::identity idn (u);
- access acc (u);
+ agent::pkcs11::access acc (u);
vector<char> data ((istreambuf_iterator<char> (cin)),
istreambuf_iterator<char> ());