diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2021-09-24 13:37:54 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2021-09-24 13:37:54 +0300 |
commit | 09078c0cb50163bbacc25e36ac09095694e3ad07 (patch) | |
tree | 42df73b71073139c9094361dabaa2ab66f4d8935 /openssl | |
parent | 22104d1411e4a2cfe1e082977b9bf19e793d9a18 (diff) |
Fortify tests against NDEBUG
Diffstat (limited to 'openssl')
-rw-r--r-- | openssl/agent/pkcs11/private-key.test.cxx | 3 | ||||
-rw-r--r-- | openssl/agent/pkcs11/url.test.cxx | 3 |
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 |