| Index: net/cert/internal/test_helpers.h
|
| diff --git a/net/cert/internal/test_helpers.h b/net/cert/internal/test_helpers.h
|
| index d10148191a4f8a1bb6c9a05ebaa2edaea3c291c5..ad010caa4139da0d4f57932ed6cc5ad97af7295c 100644
|
| --- a/net/cert/internal/test_helpers.h
|
| +++ b/net/cert/internal/test_helpers.h
|
| @@ -33,6 +33,13 @@ bool operator==(const Input& a, const Input& b);
|
| // from accidentally passing an r-value.
|
| der::Input InputFromString(const std::string* s);
|
|
|
| +// Parses |s| as a DER Sequence TLV and returns a der::Input corresponding to
|
| +// the value portion. On error returns an empty der::Input and adds a gtest
|
| +// failure.
|
| +//
|
| +// Returned value's lifetime validity is the same as for InputFromString.
|
| +der::Input SequenceValueFromString(const std::string* s);
|
| +
|
| // Helper structure that maps a PEM block header (for instance "CERTIFICATE") to
|
| // the destination where the value for that block should be written.
|
| struct PemBlockMapping {
|
|
|