| Index: net/socket/ssl_socket.h
|
| ===================================================================
|
| --- net/socket/ssl_socket.h (revision 126517)
|
| +++ net/socket/ssl_socket.h (working copy)
|
| @@ -18,11 +18,14 @@
|
| virtual ~SSLSocket() {}
|
|
|
| // Exports data derived from the SSL master-secret (see RFC 5705).
|
| - // The call will fail with an error if the socket is not connected, or the
|
| - // SSL implementation does not support the operation.
|
| + // If |has_context| is false, uses the no-context construction from the
|
| + // RFC and |context| is ignored. The call will fail with an error if
|
| + // the socket is not connected or the SSL implementation does not
|
| + // support the operation.
|
| virtual int ExportKeyingMaterial(const base::StringPiece& label,
|
| + bool has_context,
|
| const base::StringPiece& context,
|
| - unsigned char *out,
|
| + unsigned char* out,
|
| unsigned int outlen) = 0;
|
| };
|
|
|
|
|