Fixup: mark CertificatesAtPath static

pull/2754/head
Jorge Canizales 9 years ago
parent 56c6574652
commit 7d261ee5b6
  1. 2
      src/objective-c/GRPCClient/private/GRPCSecureChannel.m

@ -33,7 +33,7 @@
#import "GRPCSecureChannel.h"
grpc_credentials *CertificatesAtPath(NSString *path) {
static grpc_credentials *CertificatesAtPath(NSString *path) {
NSData *certsData = [NSData dataWithContentsOfFile:path];
NSCAssert(certsData.length, @"No data read from %@", path);
NSString *certsString = [[NSString alloc] initWithData:certsData encoding:NSUTF8StringEncoding];

Loading…
Cancel
Save