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..715312b02d576be9337192ee47f87ab59ebe4d34 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 the no special cipher |
wtc
2013/11/22 01:14:16
indicate the => "indicate that" or remove "the"
agl
2013/11/22 17:53:49
Done.
|
+// 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); |
+ |
// Map NSS error code to network error code. |
int MapNSSError(PRErrorCode err); |