Spell out 'certificates' rather than 'certs'

pull/16190/head
Muxi Yan 6 years ago
parent 4201ad1681
commit f00be37dd1
  1. 2
      src/objective-c/GRPCClient/private/GRPCChannelPool.m
  2. 2
      src/objective-c/GRPCClient/private/GRPCSecureChannelFactory.h
  3. 2
      src/objective-c/GRPCClient/private/GRPCSecureChannelFactory.m

@ -52,7 +52,7 @@ extern const char *kCFStreamVarName;
#ifdef GRPC_COMPILE_WITH_CRONET
if (![GRPCCall isUsingCronet]) {
#endif
factory = [GRPCSecureChannelFactory factoryWithPEMRootCerts:_callOptions.PEMRootCertificates
factory = [GRPCSecureChannelFactory factoryWithPEMRootCertificates:_callOptions.PEMRootCertificates
privateKey:_callOptions.PEMPrivateKey
certChain:_callOptions.PEMCertChain
error:&error];

@ -23,7 +23,7 @@ NS_ASSUME_NONNULL_BEGIN
@interface GRPCSecureChannelFactory : NSObject<GRPCChannelFactory>
+ (nullable instancetype)factoryWithPEMRootCerts:(nullable NSString *)rootCerts
+ (nullable instancetype)factoryWithPEMRootCertificates:(nullable NSString *)rootCerts
privateKey:(nullable NSString *)privateKey
certChain:(nullable NSString *)certChain
error:(NSError **)errorPtr;

@ -29,7 +29,7 @@ NS_ASSUME_NONNULL_BEGIN
grpc_channel_credentials *_channelCreds;
}
+ (nullable instancetype)factoryWithPEMRootCerts:(nullable NSString *)rootCerts
+ (nullable instancetype)factoryWithPEMRootCertificates:(nullable NSString *)rootCerts
privateKey:(nullable NSString *)privateKey
certChain:(nullable NSString *)certChain
error:(NSError **)errorPtr {

Loading…
Cancel
Save