| Index: webrtc/base/sslidentity.cc
|
| diff --git a/webrtc/base/sslidentity.cc b/webrtc/base/sslidentity.cc
|
| index 33b7387588633e8106817396e9b6e1f583397390..0da254fcaa15666607ab9a9deb11d5fdab221de7 100644
|
| --- a/webrtc/base/sslidentity.cc
|
| +++ b/webrtc/base/sslidentity.cc
|
| @@ -27,10 +27,6 @@
|
|
|
| #include "webrtc/base/opensslidentity.h"
|
|
|
| -#elif SSL_USE_NSS // !SSL_USE_SCHANNEL && !SSL_USE_OPENSSL
|
| -
|
| -#include "webrtc/base/nssidentity.h"
|
| -
|
| #endif // SSL_USE_SCHANNEL
|
|
|
| namespace rtc {
|
| @@ -143,27 +139,7 @@ SSLIdentity* SSLIdentity::FromPEMStrings(const std::string& private_key,
|
| return OpenSSLIdentity::FromPEMStrings(private_key, certificate);
|
| }
|
|
|
| -#elif SSL_USE_NSS // !SSL_USE_OPENSSL && !SSL_USE_SCHANNEL
|
| -
|
| -SSLCertificate* SSLCertificate::FromPEMString(const std::string& pem_string) {
|
| - return NSSCertificate::FromPEMString(pem_string);
|
| -}
|
| -
|
| -SSLIdentity* SSLIdentity::Generate(const std::string& common_name,
|
| - KeyType key_type) {
|
| - return NSSIdentity::Generate(common_name, key_type);
|
| -}
|
| -
|
| -SSLIdentity* SSLIdentity::GenerateForTest(const SSLIdentityParams& params) {
|
| - return NSSIdentity::GenerateForTest(params);
|
| -}
|
| -
|
| -SSLIdentity* SSLIdentity::FromPEMStrings(const std::string& private_key,
|
| - const std::string& certificate) {
|
| - return NSSIdentity::FromPEMStrings(private_key, certificate);
|
| -}
|
| -
|
| -#else // !SSL_USE_OPENSSL && !SSL_USE_SCHANNEL && !SSL_USE_NSS
|
| +#else // !SSL_USE_OPENSSL && !SSL_USE_SCHANNEL
|
|
|
| #error "No SSL implementation"
|
|
|
|
|