Add GetKeyBundle() method to key registry
Add a convenience method GetKeyBundle() to CryptAuthKeyRegistry that returns a const pointer to the key bundle in the registry if it exists. If no key bundle is found, nullptr is returned. We clean up the unit tests by using this method. Also, we make sure EXPECT_EQ has the form EXPECT_EQ(<expected>, <actual>). Bug: 899080 Change-Id: I7d2ca0d8ccfe0fc2a091a90cba794dbd1ad15780 Reviewed-on: https://chromium-review.googlesource.com/c/1474646 Commit-Queue: Josh Nohle <nohle@chromium.org> Reviewed-by:Kyle Horimoto <khorimoto@chromium.org> Cr-Commit-Position: refs/heads/master@{#635593}
Showing
Please register or sign in to comment