diff options
| author | Jeffrey Walton <noloader@gmail.com> | 2016-12-24 04:56:34 -0500 |
|---|---|---|
| committer | Jeffrey Walton <noloader@gmail.com> | 2016-12-24 04:56:34 -0500 |
| commit | 7031fc7f6fb3c96ced8a1e86391d9bef2c007518 (patch) | |
| tree | cfc996307b7b2aeffd728b371df5ac068a217876 /test.cpp | |
| parent | b19332a69fbd7b82f0e08c18f55a6880487d55e9 (diff) | |
| download | cryptopp-git-7031fc7f6fb3c96ced8a1e86391d9bef2c007518.tar.gz | |
Add test cases for ASN.1 parsing (Issue 346)
Diffstat (limited to 'test.cpp')
| -rw-r--r-- | test.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -973,6 +973,20 @@ bool Validate(int alg, bool thorough, const char *seedInput) case 74: result = ValidateBLAKE2b(); break;
case 75: result = ValidatePoly1305(); break;
case 76: result = ValidateSipHash(); break;
+
+#if defined(CRYPTOPP_DEBUG) && !defined(CRYPTOPP_IMPORTS)
+ // http://github.com/weidai11/cryptopp/issues/92
+ case 9999: result = TestSecBlock(); break;
+ // http://github.com/weidai11/cryptopp/issues/64
+ case 9998: result = TestPolynomialMod2(); break;
+ // http://github.com/weidai11/cryptopp/issues/336
+ case 9997: result = TestIntegerBitops(); break;
+ // http://github.com/weidai11/cryptopp/issues/242
+ case 9996: result = TestHuffmanCodes(); break;
+ // http://github.com/weidai11/cryptopp/issues/346
+ case 9995: result = TestASN1Parse(); break;
+#endif
+
default: return false;
}
|
