ca0642287d
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> |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
lhash_test.cc | ||
lhash.c | ||
make_macros.sh |