Skip to content

Commit

Permalink
Merge pull request #300 from pawisoon/master
Browse files Browse the repository at this point in the history
Fix for Trustkit not building on Xcode 14.3 #298
  • Loading branch information
nabla-c0d3 authored Apr 12, 2023
2 parents 9a51e91 + 734fe1d commit f5d8563
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion TrustKit/Dependencies/RSSwizzle/RSSwizzle.m
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ static void swizzle(Class classToSwizzle,
}


static NSMutableDictionary *swizzledClassesDictionary(){
static NSMutableDictionary *swizzledClassesDictionary(void){
static NSMutableDictionary *swizzledClasses;
static dispatch_once_t onceToken;
dispatch_once(&onceToken, ^{
Expand Down
2 changes: 1 addition & 1 deletion TrustKit/configuration_utils.m
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ static NSUInteger isSubdomain(NSString *domain, NSString *subdomain)
return notedHostname;
}

NSURLSessionConfiguration *ephemeralNSURLSessionConfiguration() {
NSURLSessionConfiguration *ephemeralNSURLSessionConfiguration(void) {
NSURLSessionConfiguration *configuration = [NSURLSessionConfiguration ephemeralSessionConfiguration];
#if TARGET_OS_IPHONE && !TARGET_OS_TV && !TARGET_OS_WATCH
configuration.multipathServiceType = NSURLSessionMultipathServiceTypeHandover;
Expand Down

0 comments on commit f5d8563

Please sign in to comment.