#1306 - Renaming certificate to include geotrust name for easier tracking

This commit is contained in:
Brad Leege
2015-04-20 19:59:28 -05:00
parent 6f9bcd86af
commit 736bdca81e
2 changed files with 1 additions and 6 deletions

View File

@@ -401,10 +401,6 @@ NSString *const MGLEventGestureRotateStart = @"Rotation";
NSURLConnection *connection = [[NSURLConnection alloc] initWithRequest:request delegate:strongSelf startImmediately:NO];
[connection scheduleInRunLoop:[NSRunLoop mainRunLoop] forMode:NSRunLoopCommonModes];
[connection start];
// [NSURLConnection sendAsynchronousRequest:request
// queue:nil
// completionHandler:nil];
}
});
}
@@ -653,7 +649,7 @@ NSString *const MGLEventGestureRotateStart = @"Rotation";
NSArray *bundles = [NSBundle allFrameworks];
for (int lc = 0; lc < bundles.count; lc++) {
NSBundle *b = [bundles objectAtIndex:lc];
cerPath = [[NSBundle mainBundle] pathForResource:@"api_mapbox_com" ofType:@"der"];
cerPath = [[NSBundle mainBundle] pathForResource:@"api_mapbox_com-geotrust" ofType:@"der"];
if (cerPath != nil) {
break;
}
@@ -663,7 +659,6 @@ NSString *const MGLEventGestureRotateStart = @"Rotation";
return;
}
// NSString *cerPath = [[NSBundle mainBundle] pathForResource:@"api_mapbox_com" ofType:@"der"];
NSData *localCertData = [NSData dataWithContentsOfFile:cerPath];
// Get Server's Public Key