Index: net/third_party/nss/ssl/sslsock.c |
diff --git a/net/third_party/nss/ssl/sslsock.c b/net/third_party/nss/ssl/sslsock.c |
index 965215d4b46d62dbc90de9653b12e5e997a21626..9f8286c18ba01bafdb08810d111c548c42d49d4a 100644 |
--- a/net/third_party/nss/ssl/sslsock.c |
+++ b/net/third_party/nss/ssl/sslsock.c |
@@ -1344,6 +1344,19 @@ SSL_CipherPrefSet(PRFileDesc *fd, PRInt32 which, PRBool enabled) |
return rv; |
} |
+SECStatus |
+SSL_CipherOrderSet(PRFileDesc *fd, const PRUint16 *ciphers, unsigned int len) |
+{ |
+ sslSocket *ss = ssl_FindSocket(fd); |
+ |
+ if (!ss) { |
+ SSL_DBG(("%d: SSL[%d]: bad socket in CipherOrderSet", SSL_GETPID(), |
+ fd)); |
+ return SECFailure; |
+ } |
+ return ssl3_CipherOrderSet(ss, ciphers, len); |
+} |
+ |
SECStatus |
SSL_CipherPrefGet(PRFileDesc *fd, PRInt32 which, PRBool *enabled) |
{ |