Index: net/socket/nss_ssl_util.h |
diff --git a/net/socket/nss_ssl_util.h b/net/socket/nss_ssl_util.h |
index 09ae3562cd77fa32c3360f3fe9a907586766b4d0..a274de1273c3f919430c6427d7e02781cacc1cd6 100644 |
--- a/net/socket/nss_ssl_util.h |
+++ b/net/socket/nss_ssl_util.h |
@@ -27,6 +27,15 @@ void LogFailedNSSFunction(const BoundNetLog& net_log, |
// Map network error code to NSS error code. |
PRErrorCode MapErrorToNSS(int result); |
+// GetNSSCipherOrder either returns NULL, to indicate that no special cipher |
+// order is required, or it returns a pointer to an array of cipher suite ids. |
+// On return, |*out_length| is set to the length of the returned array. |
+// |
+// The array, if not NULL, indicates the preferred order of cipher suites but |
+// inclusion in the array does not mean that the given cipher suite should |
+// necessarily be enabled. |
+const uint16* GetNSSCipherOrder(size_t* out_length); |
wtc
2013/11/27 14:50:13
Compilation failed because uint16 is not defined.
agl
2013/11/27 16:08:33
Thanks. I had missed this CQ failure.
codereview
|
+ |
// Map NSS error code to network error code. |
int MapNSSError(PRErrorCode err); |