• Matt Mueller's avatar
    Make CertPathBuilder::Result movable, remove Clear method. · 350b2ee1
    Matt Mueller authored
    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: default avatarRyan Sleevi <rsleevi@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#683306}
    350b2ee1
path_builder.h 8.26 KB