aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils/assert.h
Commit message (Collapse)AuthorAgeFilesLines
* Add assert equallloyd2010-11-291-8/+18
|
* There is a pretty common pattern in the code for testing for internallloyd2010-09-261-0/+49
errors of the form if(some_expr_indicating_failure) throw Internal_Error("Some mildly informative message"); Make this simpiler with the addition of a BOTAN_ASSERT macro which will throw an exception upon failure.