summaryrefslogtreecommitdiffstats
path: root/net/quic/crypto/p256_key_exchange_openssl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/quic/crypto/p256_key_exchange_openssl.cc')
-rw-r--r--net/quic/crypto/p256_key_exchange_openssl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/quic/crypto/p256_key_exchange_openssl.cc b/net/quic/crypto/p256_key_exchange_openssl.cc
index 7a9707e..9703a2e 100644
--- a/net/quic/crypto/p256_key_exchange_openssl.cc
+++ b/net/quic/crypto/p256_key_exchange_openssl.cc
@@ -77,7 +77,7 @@ KeyExchange* P256KeyExchange::NewKeyPair(QuicRandom* /*rand*/) const {
return P256KeyExchange::New(private_value);
}
-bool P256KeyExchange::CalculateSharedKey(const StringPiece& peer_public_value,
+bool P256KeyExchange::CalculateSharedKey(StringPiece peer_public_value,
string* out_result) const {
if (peer_public_value.size() != kUncompressedP256PointBytes) {
DVLOG(1) << "Peer public value is invalid";