Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rgw: share time skew check between v2 and v4 auth
this moves the new std::chrono-based v4 time skew check into a common helper function, then uses that in place of the v2 check Signed-off-by: Casey Bodley <cbodley@redhat.com> (cherry picked from commit bc98772) Conflicts: src/rgw/rgw_auth_s3.cc - avoid C++17-ism (std::chrono::abs) in is_time_skew_ok()
- Loading branch information
Showing
4 changed files
with
21 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters