We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9a9e785 commit b6fb4f7Copy full SHA for b6fb4f7
1 file changed
FsprgEmbeddedStore/FsprgEmbeddedStoreController.m
@@ -375,8 +375,8 @@ - (void)connection:(NSURLConnection *)connection didReceiveAuthenticationChallen
375
CFIndex count = SecTrustGetCertificateCount(trustRef);
376
377
NSMutableArray *certificates = [NSMutableArray arrayWithCapacity:count];
378
- for (CFIndex idx = 0; idx < count; idx++)
379
- {
+ CFIndex idx;
+ for (idx = 0; idx < count; idx++) {
380
SecCertificateRef certificateRef = SecTrustGetCertificateAtIndex(trustRef, idx);
381
[certificates addObject:(id)certificateRef];
382
}
0 commit comments