Initialize SSL in unittest_main.cc.

Instead of having each test individually initialize and tear down SSL
move this to unittest_main.cc so that all tests are properly
initialized and new tests "don't have to think about it".

R=pthatcher@webrtc.org
BUG=

Review URL: https://webrtc-codereview.appspot.com/30549004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@7316 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
pbos@webrtc.org
2014-09-28 11:36:45 +00:00
parent 3a10d2f64f
commit 34f2a9ea72
25 changed files with 8 additions and 173 deletions

View File

@@ -229,11 +229,6 @@ class SctpDataMediaChannelTest : public testing::Test,
LOG(LS_WARNING) << "Unabled to initialize NSS.";
}
#endif // HAVE_NSS_SSL_H
rtc::InitializeSSL();
}
static void TearDownTestCase() {
rtc::CleanupSSL();
}
virtual void SetUp() {