webrtc_m130/webrtc/base/ssladapter.cc
deadbeef 1b54a5f018 Relanding: Removing #defines previously used for building without BoringSSL/OpenSSL.
These defines don't work any more, so they only cause confusion:

FEATURE_ENABLE_SSL
HAVE_OPENSSL_SSL_H
SSL_USE_OPENSSL

BUG=webrtc:7025

Review-Url: https://codereview.webrtc.org/2640513002
Cr-Commit-Position: refs/heads/master@{#16224}
2017-01-24 03:39:57 +00:00

41 lines
1.1 KiB
C++

/*
* Copyright 2004 The WebRTC Project Authors. All rights reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing project authors may
* be found in the AUTHORS file in the root of the source tree.
*/
#include "webrtc/base/ssladapter.h"
#include "webrtc/base/openssladapter.h"
///////////////////////////////////////////////////////////////////////////////
namespace rtc {
SSLAdapter*
SSLAdapter::Create(AsyncSocket* socket) {
return new OpenSSLAdapter(socket);
}
///////////////////////////////////////////////////////////////////////////////
bool InitializeSSL(VerificationCallback callback) {
return OpenSSLAdapter::InitializeSSL(callback);
}
bool InitializeSSLThread() {
return OpenSSLAdapter::InitializeSSLThread();
}
bool CleanupSSL() {
return OpenSSLAdapter::CleanupSSL();
}
///////////////////////////////////////////////////////////////////////////////
} // namespace rtc