boringssl/crypto/lhash
David Benjamin ca0642287d Rewrite lhash_test in C++.
Use a std::map as the dummy lhash and use unique_ptr. This also improves
the test to check on pointer equality; we wish to ensure the lhash
stores the particular pointer value we asked for.

dummy_lh now also owns the pointers. It makes things simpler and since
LHASH doesn't free things, we weren't getting anything out of testing
that.

Change-Id: I97159175ca79a5874586650f272a7846100395e1
Reviewed-on: https://boringssl-review.googlesource.com/12976
Reviewed-by: Adam Langley <agl@google.com>
2017-01-04 01:38:45 +00:00
..
CMakeLists.txt Rewrite lhash_test in C++. 2017-01-04 01:38:45 +00:00
lhash_test.cc Rewrite lhash_test in C++. 2017-01-04 01:38:45 +00:00
lhash.c Work around language and compiler bug in memcpy, etc. 2016-12-21 20:34:47 +00:00
make_macros.sh Remove more bits of ERR_STRING_DATA. 2015-02-10 02:10:46 +00:00