Make CertPathBuilder::Result movable, remove Clear method.
The Clear should have cleared exceeded_iteration_limit and exceeded_deadline, but it was overlooked. Instead of using a Clear method, the object can be reset by assigning a default-constructed Result(). This removes the need to update Clear any time new members are added. (The lack of clearing those members did not cause any issues with the way they are currently used in chromium, so this shouldn't cause any behavioral changes.) Bug: 410574 Change-Id: I3585abed17bfdeaf1362ee098ebddfdf2c2d3080 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1730957 Commit-Queue: Matt Mueller <mattm@chromium.org> Reviewed-by:Ryan Sleevi <rsleevi@chromium.org> Cr-Commit-Position: refs/heads/master@{#683306}
Showing
Please register or sign in to comment