File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111#import " FsprgOrderDocumentRepresentation.h"
1212
1313// We don't retrieve SSL certificates below OSX 10.6
14- #define RETRIEVE_SSL_CERTIFICATES defined (MAC_OS_X_VERSION_10_6) && MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_6
14+ #define RETRIEVE_SSL_CERTIFICATES defined (MAC_OS_X_VERSION_10_6) && MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_6
1515
1616
1717@interface FsprgEmbeddedStoreController (Private)
@@ -47,7 +47,7 @@ - (id) init
4747 [self setDelegate: nil ];
4848 [self setStoreHost: nil ];
4949 [self setHostCertificates: [NSMutableDictionary dictionary ]];
50- #if defined(MAC_OS_X_VERSION_10_8) && MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_8
50+ #if defined(MAC_OS_X_VERSION_10_8) && MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_8
5151 [self setConnectionsToRequests: [NSMapTable strongToStrongObjectsMapTable ]];
5252#else
5353 [self setConnectionsToRequests: [NSMapTable mapTableWithStrongToStrongObjects ]];
@@ -386,7 +386,7 @@ - (void)connection:(NSURLConnection *)connection didReceiveAuthenticationChallen
386386
387387 NSMutableArray *certificates = [NSMutableArray arrayWithCapacity: count];
388388 CFIndex idx;
389- for (idx = 0 ; idx < count; idx++) {
389+ for (idx = 0 ; idx < (CFIndex) count; idx++) {
390390 SecCertificateRef certificateRef = SecTrustGetCertificateAtIndex (trustRef, idx);
391391 [certificates addObject: (id )certificateRef];
392392 }
You can’t perform that action at this time.
0 commit comments