| Index: extensions/common/cast/cast_cert_validator_openssl.cc
|
| diff --git a/extensions/common/cast/cast_cert_validator_openssl.cc b/extensions/common/cast/cast_cert_validator_openssl.cc
|
| index 326aa498db4167cc83b5f0e964d9ca79ca0117cf..1d03e3793ca0d44a89e6d34a9b91d72bc9f5b172 100644
|
| --- a/extensions/common/cast/cast_cert_validator_openssl.cc
|
| +++ b/extensions/common/cast/cast_cert_validator_openssl.cc
|
| @@ -71,7 +71,8 @@ class CertVerificationContextOpenSSL : public CertVerificationContext {
|
| std::string common_name;
|
| common_name_length = X509_NAME_get_text_by_NID(
|
| x509_->cert_info->subject, NID_commonName,
|
| - WriteInto(&common_name, static_cast<size_t>(common_name_length) + 1),
|
| + base::WriteInto(&common_name,
|
| + static_cast<size_t>(common_name_length) + 1),
|
| common_name_length + 1);
|
| if (common_name_length < 0)
|
| return std::string();
|
|
|