58150ed59b
lh_FOO_retrieve is often called with a dummy instance of FOO that has only a few fields filled in. This works fine for C, but a C++ SSL_SESSION with destructors is a bit more of a nuisance here. Instead, teach LHASH to allow queries by some external key type. This avoids stack-allocating SSL_SESSION. Along the way, fix the make_macros.sh script. Change-Id: Ie0b482d4ffe1027049d49db63274c7c17f9398fa Reviewed-on: https://boringssl-review.googlesource.com/29586 Commit-Queue: David Benjamin <davidben@google.com> CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> Reviewed-by: Adam Langley <agl@google.com> |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
lhash_test.cc | ||
lhash.c | ||
make_macros.sh |