aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Muxi Yan <mxyan@google.com>2018-10-18 16:07:09 -0700
committerGravatar Muxi Yan <mxyan@google.com>2018-10-18 16:07:09 -0700
commitf00be37dd19842e2e2f906b71d0525c2dc913378 (patch)
tree04f5d2cd434eeca61041e3e3f49e89ee40a590e4
parent4201ad1681064d591f6a47fa5b3c6f824cb7cecb (diff)
Spell out 'certificates' rather than 'certs'
-rw-r--r--src/objective-c/GRPCClient/private/GRPCChannelPool.m8
-rw-r--r--src/objective-c/GRPCClient/private/GRPCSecureChannelFactory.h8
-rw-r--r--src/objective-c/GRPCClient/private/GRPCSecureChannelFactory.m8
3 files changed, 12 insertions, 12 deletions
diff --git a/src/objective-c/GRPCClient/private/GRPCChannelPool.m b/src/objective-c/GRPCClient/private/GRPCChannelPool.m
index b5b3ff60ef..5d53cb2e99 100644
--- a/src/objective-c/GRPCClient/private/GRPCChannelPool.m
+++ b/src/objective-c/GRPCClient/private/GRPCChannelPool.m
@@ -52,10 +52,10 @@ extern const char *kCFStreamVarName;
#ifdef GRPC_COMPILE_WITH_CRONET
if (![GRPCCall isUsingCronet]) {
#endif
- factory = [GRPCSecureChannelFactory factoryWithPEMRootCerts:_callOptions.PEMRootCertificates
- privateKey:_callOptions.PEMPrivateKey
- certChain:_callOptions.PEMCertChain
- error:&error];
+ factory = [GRPCSecureChannelFactory factoryWithPEMRootCertificates:_callOptions.PEMRootCertificates
+ privateKey:_callOptions.PEMPrivateKey
+ certChain:_callOptions.PEMCertChain
+ error:&error];
if (factory == nil) {
NSLog(@"Error creating secure channel factory: %@", error);
}
diff --git a/src/objective-c/GRPCClient/private/GRPCSecureChannelFactory.h b/src/objective-c/GRPCClient/private/GRPCSecureChannelFactory.h
index 82af0dc3e6..588239b706 100644
--- a/src/objective-c/GRPCClient/private/GRPCSecureChannelFactory.h
+++ b/src/objective-c/GRPCClient/private/GRPCSecureChannelFactory.h
@@ -23,10 +23,10 @@ NS_ASSUME_NONNULL_BEGIN
@interface GRPCSecureChannelFactory : NSObject<GRPCChannelFactory>
-+ (nullable instancetype)factoryWithPEMRootCerts:(nullable NSString *)rootCerts
- privateKey:(nullable NSString *)privateKey
- certChain:(nullable NSString *)certChain
- error:(NSError **)errorPtr;
++ (nullable instancetype)factoryWithPEMRootCertificates:(nullable NSString *)rootCerts
+ privateKey:(nullable NSString *)privateKey
+ certChain:(nullable NSString *)certChain
+ error:(NSError **)errorPtr;
- (nullable grpc_channel *)createChannelWithHost:(NSString *)host
channelArgs:(nullable NSDictionary *)args;
diff --git a/src/objective-c/GRPCClient/private/GRPCSecureChannelFactory.m b/src/objective-c/GRPCClient/private/GRPCSecureChannelFactory.m
index 8a00d080a1..b116c16ec0 100644
--- a/src/objective-c/GRPCClient/private/GRPCSecureChannelFactory.m
+++ b/src/objective-c/GRPCClient/private/GRPCSecureChannelFactory.m
@@ -29,10 +29,10 @@ NS_ASSUME_NONNULL_BEGIN
grpc_channel_credentials *_channelCreds;
}
-+ (nullable instancetype)factoryWithPEMRootCerts:(nullable NSString *)rootCerts
- privateKey:(nullable NSString *)privateKey
- certChain:(nullable NSString *)certChain
- error:(NSError **)errorPtr {
++ (nullable instancetype)factoryWithPEMRootCertificates:(nullable NSString *)rootCerts
+ privateKey:(nullable NSString *)privateKey
+ certChain:(nullable NSString *)certChain
+ error:(NSError **)errorPtr {
return [[self alloc] initWithPEMRootCerts:rootCerts
privateKey:privateKey
certChain:certChain