Temporarily skip resumption in 1.3 cipher suite tests.

We'll enable it again later, but the initial land of the 1.3 handshake
will not do resumption. In preparation, turn those off.

Change-Id: I5f98b6a9422eb96be26c4ec41ca7ecde5f592da7
Reviewed-on: https://boringssl-review.googlesource.com/8765
Commit-Queue: David Benjamin <davidben@google.com>
Reviewed-by: Steven Valdez <svaldez@google.com>
Reviewed-by: David Benjamin <davidben@google.com>
This commit is contained in:
David Benjamin 2016-07-13 17:13:49 -04:00
parent 1edae6beea
commit 9deb117409

View File

@ -2196,6 +2196,9 @@ func addCipherSuiteTests() {
expectedClientError = ":WRONG_CIPHER_RETURNED:" expectedClientError = ":WRONG_CIPHER_RETURNED:"
} }
// TODO(davidben,svaldez): Implement resumption for TLS 1.3.
resumeSession := ver.version < VersionTLS13
testCases = append(testCases, testCase{ testCases = append(testCases, testCase{
testType: serverTest, testType: serverTest,
protocol: protocol, protocol: protocol,
@ -2216,7 +2219,7 @@ func addCipherSuiteTests() {
certFile: certFile, certFile: certFile,
keyFile: keyFile, keyFile: keyFile,
flags: flags, flags: flags,
resumeSession: true, resumeSession: resumeSession,
shouldFail: shouldServerFail, shouldFail: shouldServerFail,
expectedError: expectedServerError, expectedError: expectedServerError,
}) })
@ -2238,7 +2241,7 @@ func addCipherSuiteTests() {
}, },
}, },
flags: flags, flags: flags,
resumeSession: true, resumeSession: resumeSession,
shouldFail: shouldClientFail, shouldFail: shouldClientFail,
expectedError: expectedClientError, expectedError: expectedClientError,
}) })