diff options
author | Jeffrey Walton <noloader@gmail.com> | 2017-05-05 23:16:28 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2017-05-05 23:16:28 -0400 |
commit | 02df6ea8475531609a377c85e8b6da60110dec10 (patch) | |
tree | 160aab2b58bfea845462e172c55542626b8db31f /validate.h | |
parent | ac930b084dfb5b67113d622a785bbfe84325c3c1 (diff) | |
download | cryptopp-git-02df6ea8475531609a377c85e8b6da60110dec10.tar.gz |
Add additional self tests under debug builds
Diffstat (limited to 'validate.h')
-rw-r--r-- | validate.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -107,7 +107,12 @@ bool ValidateESIGN(); bool ValidateHashDRBG();
bool ValidateHmacDRBG();
+// If CRYPTOPP_DEBUG or CRYPTOPP_COVERAGE is in effect, then perform additional tests
#if (defined(CRYPTOPP_DEBUG) || defined(CRYPTOPP_COVERAGE)) && !defined(CRYPTOPP_IMPORTS)
+# define CRYPTOPP_EXTENDED_VALIDATION 1
+#endif
+
+#if defined(CRYPTOPP_EXTENDED_VALIDATION)
// http://github.com/weidai11/cryptopp/issues/92
bool TestSecBlock();
// http://github.com/weidai11/cryptopp/issues/64
|