| Index: net/cert/x509_util_nss.h
|
| diff --git a/net/cert/x509_util_nss.h b/net/cert/x509_util_nss.h
|
| index b11a91ffcb57c5c9b73b620779db480781b59f16..b5dfe795dfb3f1633e37b30f8b2817612121e2e0 100644
|
| --- a/net/cert/x509_util_nss.h
|
| +++ b/net/cert/x509_util_nss.h
|
| @@ -29,12 +29,12 @@ namespace net {
|
| namespace x509_util {
|
|
|
| // Parses the Principal attribute from |name| and outputs the result in
|
| -// |principal|.
|
| -void ParsePrincipal(CERTName* name,
|
| - CertPrincipal* principal);
|
| +// |principal|. Returns true on success.
|
| +bool ParsePrincipal(CERTName* name, CertPrincipal* principal);
|
|
|
| // Parses the date from |der_date| and outputs the result in |result|.
|
| -void ParseDate(const SECItem* der_date, base::Time* result);
|
| +// Returns true on success.
|
| +bool ParseDate(const SECItem* der_date, base::Time* result);
|
|
|
| // Parses the serial number from |certificate|.
|
| std::string ParseSerialNumber(const CERTCertificate* certificate);
|
|
|