Skip to content

Commit

Permalink
don't force to use backup
Browse files Browse the repository at this point in the history
  • Loading branch information
Konstantin committed Oct 4, 2021
1 parent 3c95355 commit 36790c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TrustKit/parse_configuration.m
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@
}


NSUInteger requiredNumberOfPins = [domainFinalConfiguration[kTSKEnforcePinning] boolValue] ? 2 : 1;
NSUInteger requiredNumberOfPins = 1;
if([serverSslPinsSet count] < requiredNumberOfPins)
{
[NSException raise:@"TrustKit configuration invalid"
Expand Down

0 comments on commit 36790c2

Please sign in to comment.