Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(75)

Unified Diff: talk/app/webrtc/peerconnection.cc

Issue 1151943005: Ability to specify KeyType (RSA, ECDSA) for SSLIdentity generation in libjingle (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Addressing ASAN, LSAN issues in unittests Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: talk/app/webrtc/peerconnection.cc
diff --git a/talk/app/webrtc/peerconnection.cc b/talk/app/webrtc/peerconnection.cc
index 4c54d6f5feb62c2b4f1b5f25da091ac30d8e4439..ce85e0fe0f28dc89e4c1e64f559211bcf66f19d0 100644
--- a/talk/app/webrtc/peerconnection.cc
+++ b/talk/app/webrtc/peerconnection.cc
@@ -348,9 +348,10 @@ bool PeerConnection::Initialize(
const PeerConnectionInterface::RTCConfiguration& configuration,
const MediaConstraintsInterface* constraints,
PortAllocatorFactoryInterface* allocator_factory,
- DTLSIdentityServiceInterface* dtls_identity_service,
- PeerConnectionObserver* observer) {
- ASSERT(observer != NULL);
+ PeerConnectionObserver* observer,
+ DtlsIdentityStoreInterface* dtls_identity_store,
+ rtc::KeyType key_type) {
+ ASSERT(observer);
if (!observer)
return false;
observer_ = observer;
@@ -404,7 +405,7 @@ bool PeerConnection::Initialize(
// Initialize the WebRtcSession. It creates transport channels etc.
if (!session_->Initialize(factory_->options(), constraints,
- dtls_identity_service, configuration))
+ configuration, dtls_identity_store, key_type))
return false;
// Register PeerConnection as receiver of local ice candidates.

Powered by Google App Engine
This is Rietveld 408576698