-
Notifications
You must be signed in to change notification settings - Fork 162
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Restructure PeerDelegatedCredentialImpl to avoid double construction …
…of peer cert signature Summary: * Remove `PeerDelegatedCredentialImpl::InternalPeerCert` internal class * Store the credential's signature as a member of `PeerDelegatedCredentialImpl` * Call `openssl::CertUtils::verify` to verify the credential's signature This way we don't need to re-construct the parent cert, which was doing a redundant `signature_.setKey()` operation. Reviewed By: AjanthanAsogamoorthy Differential Revision: D64788257 fbshipit-source-id: 68b97c620c8dee652c26448d4961f02763ac0fa6
- Loading branch information
1 parent
87e9c21
commit 787df81
Showing
2 changed files
with
18 additions
and
32 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