From 02df6ea8475531609a377c85e8b6da60110dec10 Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Fri, 5 May 2017 23:16:28 -0400 Subject: Add additional self tests under debug builds --- validate.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'validate.h') diff --git a/validate.h b/validate.h index 75d5610c..ebf21830 100644 --- a/validate.h +++ b/validate.h @@ -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 -- cgit v1.2.1