aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/unit_x509.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Removes randomization from choice of keys in X509 test.Jack Lloyd2016-02-091-17/+15
| | | | | | | Would be better to iterate over all of the key types for this type of coverage. Avoids Coverity dead code warning on the error-case throw.
* Reroot the exception hierarchy into a toplevel Exception classJack Lloyd2015-12-111-1/+1
| | | | | | | | As the alternatives are unfortunate for applications trying to catch all library errors, and it seems deriving from std::runtime_error causes problems with MSVC DLLs (GH #340) Effectively reverts 2837e915d82e43
* Update and consolidate the test framework.Jack Lloyd2015-11-111-128/+205
| | | | | | | | | | | The tests previously had used 4 to 6 different schemes internally (the vec file reader framework, Catch, the old InSiTo Boost.Test tests, the PK/BigInt tests which escaped the rewrite in 1.11.7, plus a number of one-offs). Converge on a design that works everywhere, and update all the things. Fix also a few bugs found by the test changes: SHA-512-256 name incorrect, OpenSSL RC4 name incorrect, signature of FFI function botan_pubkey_destroy was wrong.
* Build fixJack Lloyd2015-10-141-1/+2
|
* Move DataSource to utils and rewrite PEM encoding to avoid filtersJack Lloyd2015-10-141-17/+6
| | | | | Removes filters as as an internal dependency pretty much entirely (outside of some dusty corners in misc).
* Remove unused pkcs8 includesSimon Warta2015-08-031-1/+2
| | | | Only botan-cli, botan-tests and the FFI module depend on PKCS8
* Fix time range issue for 32 bit platformsSimon Warta2015-07-161-2/+2
|
* Construct X509_Time from date integers in test x509Simon Warta2015-07-151-6/+12
|
* Make Botan compile when only some modules are enabledSimon Warta2015-07-031-14/+15
| | | | Fixes #146.
* Replace \n by std::endl in tests to ensure proper flushingSimon Warta2015-06-191-1/+1
| | | | | | | - Remove additional newlines in CHECK_MESSAGE call - Remove redundant output of algo in aead_test() Closes #115
* Ensure all files have copyright and license info.lloyd2015-01-101-1/+1
| | | | | Update license header line to specify the terms and refer to the file, neither of which it included before.
* All tests now share an RNG. Uses system RNG if availablelloyd2014-12-281-2/+2
|
* Provide a test reportlloyd2014-12-271-0/+2
|
* Better TLS checkslloyd2014-04-101-1/+1
|
* Fix minimized builds. Patch by Markus Wanner sent to botan-devellloyd2014-02-081-1/+1
|
* Rename test sourceslloyd2014-01-071-0/+255