Purge nss files and dependencies.
This replaces https://codereview.webrtc.org/1313233005 which was reverted after triggering Chromium issues. The only difference is that we're cleaned up dependencies on use_openssl from the gyp file. Since https://codereview.chromium.org/1358913003 landed, this CL should cause no Chromium issues. BUG=webrtc:4497 Review URL: https://codereview.webrtc.org/1351503004 Cr-Commit-Position: refs/heads/master@{#10019}
This commit is contained in:
@ -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();
|
||||
|
||||
Reference in New Issue
Block a user