Skip the SCT and OCSP extensions in ServerHello when resuming sessions.

SCT and OCSP are part of the session data and as such shouldn't be sent
again to the client when resuming.

Change-Id: Iaee3a3c4c167ea34b91504929e38aadee37da572
Reviewed-on: https://boringssl-review.googlesource.com/5900
Reviewed-by: David Benjamin <davidben@chromium.org>
Reviewed-by: Adam Langley <agl@google.com>
diff --git a/ssl/test/runner/runner.go b/ssl/test/runner/runner.go
index a2dc562..819f1ea 100644
--- a/ssl/test/runner/runner.go
+++ b/ssl/test/runner/runner.go
@@ -2637,6 +2637,7 @@
 			base64.StdEncoding.EncodeToString(testOCSPResponse),
 			"-verify-peer",
 		},
+		resumeSession: true,
 	})
 
 	tests = append(tests, testCase{
@@ -2647,6 +2648,7 @@
 			"-ocsp-response",
 			base64.StdEncoding.EncodeToString(testOCSPResponse),
 		},
+		resumeSession: true,
 	})
 
 	tests = append(tests, testCase{
@@ -3446,6 +3448,7 @@
 			"-expect-signed-cert-timestamps",
 			base64.StdEncoding.EncodeToString(testSCTList),
 		},
+		resumeSession: true,
 	})
 	testCases = append(testCases, testCase{
 		name:     "SignedCertificateTimestampList-Server",
@@ -3455,6 +3458,7 @@
 			base64.StdEncoding.EncodeToString(testSCTList),
 		},
 		expectedSCTList: testSCTList,
+		resumeSession:   true,
 	})
 	testCases = append(testCases, testCase{
 		testType: clientTest,