From 736bdca81e44cc988dfe659ef1e2e26866f9fa42 Mon Sep 17 00:00:00 2001 From: Brad Leege Date: Mon, 20 Apr 2015 19:59:28 -0500 Subject: [PATCH] #1306 - Renaming certificate to include geotrust name for easier tracking --- platform/ios/MGLMapboxEvents.m | 7 +------ ...i_mapbox_com.der => api_mapbox_com-geotrust.der} | Bin 2 files changed, 1 insertion(+), 6 deletions(-) rename platform/ios/resources/{api_mapbox_com.der => api_mapbox_com-geotrust.der} (100%) diff --git a/platform/ios/MGLMapboxEvents.m b/platform/ios/MGLMapboxEvents.m index 90cddba45..b9a138268 100644 --- a/platform/ios/MGLMapboxEvents.m +++ b/platform/ios/MGLMapboxEvents.m @@ -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 diff --git a/platform/ios/resources/api_mapbox_com.der b/platform/ios/resources/api_mapbox_com-geotrust.der similarity index 100% rename from platform/ios/resources/api_mapbox_com.der rename to platform/ios/resources/api_mapbox_com-geotrust.der