| Index: net/cert/x509_certificate.h
|
| diff --git a/net/cert/x509_certificate.h b/net/cert/x509_certificate.h
|
| index aa123fc334d095d904ec92d40fa2ea59f88f4e86..2c6fb4d071bddfc4818c616f214b9246e0cc81a3 100644
|
| --- a/net/cert/x509_certificate.h
|
| +++ b/net/cert/x509_certificate.h
|
| @@ -197,8 +197,10 @@ class NET_EXPORT X509Certificate
|
| // Gets the subjectAltName extension field from the certificate, if any.
|
| // For future extension; currently this only returns those name types that
|
| // are required for HTTP certificate name verification - see VerifyHostname.
|
| - // Unrequired parameters may be passed as NULL.
|
| - void GetSubjectAltName(std::vector<std::string>* dns_names,
|
| + // Returns true if any dNSName or iPAddress SAN was present. If |dns_names|
|
| + // is non-null, it will be set to all dNSNames present. If |ip_addrs| is
|
| + // non-null, it will be set to all iPAddresses present.
|
| + bool GetSubjectAltName(std::vector<std::string>* dns_names,
|
| std::vector<std::string>* ip_addrs) const;
|
|
|
| // Convenience method that returns whether this certificate has expired as of
|
|
|