aboutsummaryrefslogtreecommitdiff
path: root/openssl/agent
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
parent22104d1411e4a2cfe1e082977b9bf19e793d9a18 (diff)
Fortify tests against NDEBUG
Diffstat (limited to 'openssl/agent')
-rw-r--r--openssl/agent/pkcs11/private-key.test.cxx3
-rw-r--r--openssl/agent/pkcs11/url.test.cxx3
2 files changed, 6 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
diff --git a/openssl/agent/pkcs11/url.test.cxx b/openssl/agent/pkcs11/url.test.cxx
index 0e5c614..b13c0c6 100644
--- a/openssl/agent/pkcs11/url.test.cxx
+++ b/openssl/agent/pkcs11/url.test.cxx
@@ -5,6 +5,9 @@
#include <openssl/agent/pkcs11/url.hxx>
+#undef NDEBUG
+#include <cassert>
+
// Usage: argv[0]
//
// Create pkcs11::url objects from stdin lines, and for each of them print its