Skip to content

Commit

Permalink
Fix for Trustkit not building on Xcode 14.3 #298
Browse files Browse the repository at this point in the history
  • Loading branch information
pawisoon committed Apr 6, 2023
1 parent 9a51e91 commit 734fe1d
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 734fe1d

Please sign in to comment.