summaryrefslogtreecommitdiffstats
path: root/net/socket/ssl_client_socket_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/socket/ssl_client_socket_unittest.cc')
-rw-r--r--net/socket/ssl_client_socket_unittest.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/socket/ssl_client_socket_unittest.cc b/net/socket/ssl_client_socket_unittest.cc
index 9899819..6a9d465 100644
--- a/net/socket/ssl_client_socket_unittest.cc
+++ b/net/socket/ssl_client_socket_unittest.cc
@@ -2383,8 +2383,7 @@ TEST_F(SSLClientSocketTest, EVCertStatusRemovedForNonCompliantCert) {
namespace {
bool IsValidOCSPResponse(const base::StringPiece& input) {
- der::Parser parser(der::Input(reinterpret_cast<const uint8_t*>(input.data()),
- input.length()));
+ der::Parser parser((der::Input(input)));
der::Parser sequence;
return parser.ReadSequence(&sequence) && !parser.HasMore() &&
sequence.SkipTag(der::kEnumerated) &&