Skip to content

Commit b6fb4f7

Browse files
author
Lars Steiger
committed
Made C99 compatible.
1 parent 9a9e785 commit b6fb4f7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

FsprgEmbeddedStore/FsprgEmbeddedStoreController.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -375,8 +375,8 @@ - (void)connection:(NSURLConnection *)connection didReceiveAuthenticationChallen
375375
CFIndex count = SecTrustGetCertificateCount(trustRef);
376376

377377
NSMutableArray *certificates = [NSMutableArray arrayWithCapacity:count];
378-
for (CFIndex idx = 0; idx < count; idx++)
379-
{
378+
CFIndex idx;
379+
for (idx = 0; idx < count; idx++) {
380380
SecCertificateRef certificateRef = SecTrustGetCertificateAtIndex(trustRef, idx);
381381
[certificates addObject:(id)certificateRef];
382382
}

0 commit comments

Comments
 (0)