Skip to content

Commit

Permalink
fix pod lib lint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
aj-dt committed Apr 5, 2023
1 parent 1b907fc commit 9a51e91
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions TrustKit/Pinning/pinning_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
This function invokes SecTrustEvaluateWithError() on iOS12+, macOS14+ and SecTrustEvaluate() otherwise.
@param trust The trust management object to evaluate
@param trsustResult On return, points to a result type reflecting the result of this evaluation.
@param serverTrust The trust management object to evaluate
@param trustResult On return, points to a result type reflecting the result of this evaluation.
@param error An error pointer the method uses to return an error when trust evaluation fails. Set to nil to ignore the error (this is not recommended!)
*/
Expand All @@ -51,7 +51,7 @@ SecCertificateRef getCertificateAtIndex(SecTrustRef serverTrust, CFIndex index);
Returns the public key for a leaf certificate after it has been evaluated.
This function invokes SecTrustCopyKey() on iOS 14+ and SecTrustCopyPublicKey otherwise
@param trust The trust management object to evaluate
@param serverTrust The trust management object to evaluate
@return The leaf certificate's public key, or nil if it the public key could not be extracted
*/
SecKeyRef copyKey(SecTrustRef serverTrust);
Expand Down

0 comments on commit 9a51e91

Please sign in to comment.