summaryrefslogtreecommitdiffstats
path: root/net/spdy
diff options
context:
space:
mode:
authorwtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-15 00:20:58 +0000
committerwtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-15 00:20:58 +0000
commit1bc6f5e2827bbf1fe571d2b6f085ceff23644e1a (patch)
treed804ca496db0952db185663f12193c7108854573 /net/spdy
parentb518852c1a1ccf23fd3ee12d49895009cb8a5aa0 (diff)
downloadchromium_src-1bc6f5e2827bbf1fe571d2b6f085ceff23644e1a.zip
chromium_src-1bc6f5e2827bbf1fe571d2b6f085ceff23644e1a.tar.gz
chromium_src-1bc6f5e2827bbf1fe571d2b6f085ceff23644e1a.tar.bz2
Add a boolean |has_context| argument to the TLS ExportKeyingMaterial
method to support both nonexistent context and zero-length context. R=agl@chromium.org,rsleevi@chromium.org BUG=none TEST=existing unit tests Review URL: http://codereview.chromium.org/9663043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126799 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/spdy')
-rw-r--r--net/spdy/spdy_session.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/spdy/spdy_session.cc b/net/spdy/spdy_session.cc
index 8a57d92..e01d648 100644
--- a/net/spdy/spdy_session.cc
+++ b/net/spdy/spdy_session.cc
@@ -643,7 +643,7 @@ int SpdySession::WriteCredentialFrame(const std::string& origin,
DCHECK(is_secure_);
unsigned char secret[32]; // 32 bytes from the spec
GetSSLClientSocket()->ExportKeyingMaterial("SPDY certificate proof",
- origin,
+ true, origin,
secret, arraysize(secret));
// Convert the key string into a vector<unit8>