| Index: net/cert/cert_verify_proc_mac.cc
|
| diff --git a/net/cert/cert_verify_proc_mac.cc b/net/cert/cert_verify_proc_mac.cc
|
| index 4de10f288c65dc8cff2eb030a2d44afe8b394fde..388d0fc41a93b81ba84d8565bec4996fbe0b31f7 100644
|
| --- a/net/cert/cert_verify_proc_mac.cc
|
| +++ b/net/cert/cert_verify_proc_mac.cc
|
| @@ -490,8 +490,8 @@ int CertVerifyProcMac::VerifyInternal(
|
| // array of certificates, the first of which is the certificate we're
|
| // verifying, and the subsequent (optional) certificates are used for
|
| // chain building.
|
| - ScopedCFTypeRef<CFMutableArrayRef> cert_array(CFArrayCreateMutableCopy(
|
| - kCFAllocatorDefault, 0, cert->CreateOSCertChainForCert()));
|
| + ScopedCFTypeRef<CFMutableArrayRef> cert_array(
|
| + cert->CreateOSCertChainForCert());
|
|
|
| // Serialize all calls that may use the Keychain, to work around various
|
| // issues in OS X 10.6+ with multi-threaded access to Security.framework.
|
|
|