Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(563)

Unified Diff: webrtc/base/sslstreamadapter_unittest.cc

Issue 1313233005: purge nss files and dependencies (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/base/sslstreamadapter.cc ('k') | webrtc/base/sslstreamadapterhelper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/sslstreamadapter_unittest.cc
diff --git a/webrtc/base/sslstreamadapter_unittest.cc b/webrtc/base/sslstreamadapter_unittest.cc
index 67658ba6103ed8e6f4e0bf369ad5a1126cc07378..c70abe6192094344d1b165522d12e027be559ce0 100644
--- a/webrtc/base/sslstreamadapter_unittest.cc
+++ b/webrtc/base/sslstreamadapter_unittest.cc
@@ -701,24 +701,6 @@ class SSLStreamAdapterTestDTLSFromPEMStrings : public SSLStreamAdapterTestDTLS {
// Basic tests: TLS
-// Test that we cannot read/write if we have not yet handshaked.
-// This test only applies to NSS because OpenSSL has passthrough
-// semantics for I/O before the handshake is started.
-#if SSL_USE_NSS
-TEST_P(SSLStreamAdapterTestTLS, TestNoReadWriteBeforeConnect) {
- rtc::StreamResult rv;
- char block[kBlockSize];
- size_t dummy;
-
- rv = client_ssl_->Write(block, sizeof(block), &dummy, NULL);
- ASSERT_EQ(rtc::SR_BLOCK, rv);
-
- rv = client_ssl_->Read(block, sizeof(block), &dummy, NULL);
- ASSERT_EQ(rtc::SR_BLOCK, rv);
-}
-#endif
-
-
// Test that we can make a handshake work
TEST_P(SSLStreamAdapterTestTLS, TestTLSConnect) {
TestHandshake();
« no previous file with comments | « webrtc/base/sslstreamadapter.cc ('k') | webrtc/base/sslstreamadapterhelper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698