Bug 1250568 - Adding TLS 1.3 to nsISSLStatus, r=keeler

MozReview-Commit-ID: 4mLdtsdFoKN
This commit is contained in:
Martin Thomson
2016-04-04 16:21:19 -03:00
parent 15e36308f5
commit 6551249aee
7 changed files with 16 additions and 4 deletions

View File

@@ -675,7 +675,7 @@ ServerSocketConnection.prototype = {
* cipher negotiation to work correctly. The server already allows only
* Gecko's normal set of cipher suites.
*/
if (clientStatus.tlsVersionUsed != Ci.nsITLSClientStatus.TLS_VERSION_1_2) {
if (clientStatus.tlsVersionUsed < Ci.nsITLSClientStatus.TLS_VERSION_1_2) {
this._handshakeDeferred.reject(Cr.NS_ERROR_CONNECTION_REFUSED);
return;
}