Index: webrtc/base/helpers.cc |
diff --git a/webrtc/base/helpers.cc b/webrtc/base/helpers.cc |
index 0a39ee923e1d61b3db9fa6399aee34049595fff6..f39b56ff4f1ceb39ae73fea72bc3f068bcddb5da 100644 |
--- a/webrtc/base/helpers.cc |
+++ b/webrtc/base/helpers.cc |
@@ -56,19 +56,6 @@ class SecureRandomGenerator : public RandomGenerator { |
} |
}; |
-#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 { |