Index: webrtc/base/sslidentity.cc |
diff --git a/webrtc/base/sslidentity.cc b/webrtc/base/sslidentity.cc |
index 645050a7e4b9deccc0b045d4539c6a2cc5f35b93..a5dd7b9ce686b63256fe417836c936e6e2116e59 100644 |
--- a/webrtc/base/sslidentity.cc |
+++ b/webrtc/base/sslidentity.cc |
@@ -17,14 +17,8 @@ |
#include "webrtc/base/base64.h" |
#include "webrtc/base/checks.h" |
#include "webrtc/base/logging.h" |
-#include "webrtc/base/sslconfig.h" |
-#include "webrtc/base/sslfingerprint.h" |
- |
-#if SSL_USE_OPENSSL |
- |
#include "webrtc/base/opensslidentity.h" |
- |
-#endif // SSL_USE_OPENSSL |
+#include "webrtc/base/sslfingerprint.h" |
namespace rtc { |
@@ -213,8 +207,6 @@ SSLCertChain::~SSLCertChain() { |
std::for_each(certs_.begin(), certs_.end(), DeleteCert); |
} |
-#if SSL_USE_OPENSSL |
- |
// static |
SSLCertificate* SSLCertificate::FromPEMString(const std::string& pem_string) { |
return OpenSSLCertificate::FromPEMString(pem_string); |
@@ -260,12 +252,6 @@ bool operator!=(const SSLIdentity& a, const SSLIdentity& b) { |
return !(a == b); |
} |
-#else // !SSL_USE_OPENSSL |
- |
-#error "No SSL implementation" |
- |
-#endif // SSL_USE_OPENSSL |
- |
// Read |n| bytes from ASN1 number string at *|pp| and return the numeric value. |
// Update *|pp| and *|np| to reflect number of read bytes. |
static inline int ASN1ReadInt(const unsigned char** pp, size_t* np, size_t n) { |