Remove NSS SecureRandomGenerator.
All platforms should be using OpenSSL/BoringSSL.
BUG=
Review-Url: https://codereview.webrtc.org/2115123002
Cr-Commit-Position: refs/heads/master@{#13681}
diff --git a/webrtc/base/helpers.cc b/webrtc/base/helpers.cc
index b284cd7..be71fee 100644
--- a/webrtc/base/helpers.cc
+++ b/webrtc/base/helpers.cc
@@ -56,19 +56,6 @@
}
};
-#elif defined(SSL_USE_NSS_RNG)
-// The NSS RNG.
-class SecureRandomGenerator : public RandomGenerator {
- public:
- SecureRandomGenerator() {}
- ~SecureRandomGenerator() override {}
- bool Init(const void* seed, size_t len) override { return true; }
- bool Generate(void* buf, size_t len) override {
- return (PK11_GenerateRandom(reinterpret_cast<unsigned char*>(buf),
- static_cast<int>(len)) == SECSuccess);
- }
-};
-
#else
#if defined(WEBRTC_WIN)
class SecureRandomGenerator : public RandomGenerator {