Chromium Code Reviews| Index: net/socket/ssl_server_socket_nss.cc |
| =================================================================== |
| --- net/socket/ssl_server_socket_nss.cc (revision 125777) |
| +++ net/socket/ssl_server_socket_nss.cc (working copy) |
| @@ -120,13 +120,14 @@ |
| } |
| int SSLServerSocketNSS::ExportKeyingMaterial(const base::StringPiece& label, |
| + bool has_context, |
| const base::StringPiece& context, |
| unsigned char *out, |
|
Ryan Sleevi
2012/03/10 04:23:31
nit: "unsigned char *" -> "unsigned char* "
|
| unsigned int outlen) { |
| if (!IsConnected()) |
| return ERR_SOCKET_NOT_CONNECTED; |
| SECStatus result = SSL_ExportKeyingMaterial( |
| - nss_fd_, label.data(), label.size(), |
| + nss_fd_, label.data(), label.size(), has_context, |
| reinterpret_cast<const unsigned char*>(context.data()), |
| context.length(), out, outlen); |
| if (result != SECSuccess) { |