more copy settings

pull/16190/head
Muxi Yan 7 years ago
parent 1084f49c31
commit b9e5224207
  1. 6
      src/objective-c/GRPCClient/private/GRPCHost.m

@ -92,9 +92,9 @@ static NSMutableDictionary *gHostCache;
withPrivateKey:(nullable NSString *)pemPrivateKey
withCertChain:(nullable NSString *)pemCertChain
error:(NSError **)errorPtr {
_PEMRootCertificates = pemRootCerts;
_PEMPrivateKey = pemPrivateKey;
_pemCertChain = pemCertChain;
_PEMRootCertificates = [pemRootCerts copy];
_PEMPrivateKey = [pemPrivateKey copy];
_pemCertChain = [pemCertChain copy];
return YES;
}

Loading…
Cancel
Save