Chromium Code Reviews| Index: net/socket/ssl_socket.h |
| =================================================================== |
| --- net/socket/ssl_socket.h (revision 125777) |
| +++ net/socket/ssl_socket.h (working copy) |
| @@ -18,9 +18,12 @@ |
| 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 |
|
Ryan Sleevi
2012/03/10 04:23:31
nit: No comma needed here. If you do leave it, the
|
| + // support the operation. |
| virtual int ExportKeyingMaterial(const base::StringPiece& label, |
| + bool has_context, |
| const base::StringPiece& context, |
| unsigned char *out, |
| unsigned int outlen) = 0; |