Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(971)

Unified Diff: net/quic/crypto/crypto_utils.h

Issue 1753933002: Add QUIC 31 in which the server's proof covers both the static server config as well as a hash of t… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@115244730
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/quic/crypto/crypto_utils.h
diff --git a/net/quic/crypto/crypto_utils.h b/net/quic/crypto/crypto_utils.h
index b4e40e9043c07d981a8824e7efa10eb2833fe24f..f51123bb3e7c3ac688f151d838c271f9f61a5a39 100644
--- a/net/quic/crypto/crypto_utils.h
+++ b/net/quic/crypto/crypto_utils.h
@@ -105,6 +105,10 @@ class NET_EXPORT_PRIVATE CryptoUtils {
static const char* HandshakeFailureReasonToString(
HandshakeFailureReason reason);
+ // Writes a hash of the serialized |message| into |output|.
+ static void HashHandshakeMessage(const CryptoHandshakeMessage& message,
+ std::string* output);
+
private:
DISALLOW_COPY_AND_ASSIGN(CryptoUtils);
};

Powered by Google App Engine
This is Rietveld 408576698