summaryrefslogtreecommitdiffstats
path: root/net/socket/ssl_server_socket_nss.h
diff options
context:
space:
mode:
authorwez@chromium.org <wez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-23 05:12:39 +0000
committerwez@chromium.org <wez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-23 05:12:39 +0000
commitb0ff3f8e755f87da1aedeaf051b88f53662f8652 (patch)
tree446118d1debf5c4b626a156f4be19db7e5dbbe05 /net/socket/ssl_server_socket_nss.h
parent5ef4e231a73a0a5910597c53f69592a11326ea54 (diff)
downloadchromium_src-b0ff3f8e755f87da1aedeaf051b88f53662f8652.zip
chromium_src-b0ff3f8e755f87da1aedeaf051b88f53662f8652.tar.gz
chromium_src-b0ff3f8e755f87da1aedeaf051b88f53662f8652.tar.bz2
Expose SSL_ExportKeyingMaterial() in SSLClient/ServerSocket interfaces.
BUG=88130 TEST= Review URL: http://codereview.chromium.org/7485015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93781 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/socket/ssl_server_socket_nss.h')
-rw-r--r--net/socket/ssl_server_socket_nss.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/net/socket/ssl_server_socket_nss.h b/net/socket/ssl_server_socket_nss.h
index 5903c17..9f13d4a 100644
--- a/net/socket/ssl_server_socket_nss.h
+++ b/net/socket/ssl_server_socket_nss.h
@@ -33,6 +33,10 @@ class SSLServerSocketNSS : public SSLServerSocket {
// SSLServerSocket interface.
virtual int Handshake(CompletionCallback* callback);
+ virtual int ExportKeyingMaterial(const base::StringPiece& label,
+ const base::StringPiece& context,
+ unsigned char *out,
+ unsigned int outlen);
// Socket interface (via StreamSocket).
virtual int Read(IOBuffer* buf, int buf_len,