aboutsummaryrefslogtreecommitdiff
path: root/openssl/agent/pkcs11/private-key.test.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2021-09-24 13:37:54 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2021-09-24 13:37:54 +0300
commit09078c0cb50163bbacc25e36ac09095694e3ad07 (patch)
tree42df73b71073139c9094361dabaa2ab66f4d8935 /openssl/agent/pkcs11/private-key.test.cxx
parent22104d1411e4a2cfe1e082977b9bf19e793d9a18 (diff)
Fortify tests against NDEBUG
Diffstat (limited to 'openssl/agent/pkcs11/private-key.test.cxx')
-rw-r--r--openssl/agent/pkcs11/private-key.test.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/openssl/agent/pkcs11/private-key.test.cxx b/openssl/agent/pkcs11/private-key.test.cxx
index 359dbbc..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