Index: net/third_party/nss/ssl/ssl.h |
diff --git a/net/third_party/nss/ssl/ssl.h b/net/third_party/nss/ssl/ssl.h |
index 4cf02aaedbb0d4347e05b833cec46be669c62aea..24627ed0a908d78611d84f15db03050cb125fbe7 100644 |
--- a/net/third_party/nss/ssl/ssl.h |
+++ b/net/third_party/nss/ssl/ssl.h |
@@ -265,6 +265,13 @@ SSL_IMPORT SECStatus SSL_CipherPrefGetDefault(PRInt32 cipher, PRBool *enabled); |
SSL_IMPORT SECStatus SSL_CipherPolicySet(PRInt32 cipher, PRInt32 policy); |
SSL_IMPORT SECStatus SSL_CipherPolicyGet(PRInt32 cipher, PRInt32 *policy); |
+/* SSL_CipherOrderSet sets the cipher suite preference order from |ciphers|, |
+ * which must be an array of cipher suite ids of length |len|. All the given |
+ * cipher suite ids must appear in the array that is returned by |
+ * |SSL_GetImplementedCiphers| and may only appear once, at most. */ |
+SSL_IMPORT SECStatus SSL_CipherOrderSet(PRFileDesc *fd, const PRUint16 *ciphers, |
+ unsigned int len); |
+ |
/* SSLChannelBindingType enumerates the types of supported channel binding |
* values. See RFC 5929. */ |
typedef enum SSLChannelBindingType { |