| Index: net/cert/x509_util_nss.h
|
| diff --git a/net/cert/x509_util_nss.h b/net/cert/x509_util_nss.h
|
| index b0ba5925da25409a6b28f52ca5ea97f58ef5b94d..41561b437a175167b6a6e7b1c85d86df9f4c5a56 100644
|
| --- a/net/cert/x509_util_nss.h
|
| +++ b/net/cert/x509_util_nss.h
|
| @@ -40,12 +40,12 @@ void ParseDate(const SECItem* der_date, base::Time* result);
|
| // Parses the serial number from |certificate|.
|
| std::string ParseSerialNumber(const CERTCertificate* certificate);
|
|
|
| -// Gets the dNSName and iPAddress name types from the subjectAltName
|
| -// extension of |cert_handle|, storing them in |dns_names| and
|
| -// |ip_addrs|, respectively.
|
| -// If no subjectAltName is present, or no names of that type are
|
| -// present, the relevant vectors are cleared.
|
| -void GetSubjectAltName(CERTCertificate* cert_handle,
|
| +// Gets the dNSName and iPAddress name fields from the subjectAltName
|
| +// extension of |cert_handle|.
|
| +// If |dns_names| is non-null, each dNSName will be stored in |*dns_names|.
|
| +// If |ip_addrs| is non-null, each iPAddress will be stored in |*ip_addrs|.
|
| +// Returns true if any dNSName or iPAddress was present.
|
| +bool GetSubjectAltName(CERTCertificate* cert_handle,
|
| std::vector<std::string>* dns_names,
|
| std::vector<std::string>* ip_addrs);
|
|
|
|
|