Index: talk/app/webrtc/dtlsidentitystore.cc |
diff --git a/talk/app/webrtc/dtlsidentitystore.cc b/talk/app/webrtc/dtlsidentitystore.cc |
index 27587796bc11624af46adaffdf122648bfca808f..5cb2a9637f6e35372b79f615b21d8126cd38253a 100644 |
--- a/talk/app/webrtc/dtlsidentitystore.cc |
+++ b/talk/app/webrtc/dtlsidentitystore.cc |
@@ -67,7 +67,7 @@ class DtlsIdentityStoreImpl::WorkerTask : public sigslot::has_slots<>, |
void GenerateIdentity_w() { |
LOG(LS_INFO) << "Generating identity, using keytype " << key_type_; |
rtc::scoped_ptr<rtc::SSLIdentity> identity( |
- rtc::SSLIdentity::Generate(kIdentityName, key_type_)); |
+ rtc::SSLIdentity::Generate(kIdentityName, rtc::KeyTypeFull(key_type_))); |
// Posting to |this| avoids touching |store_| on threads other than |
// |signaling_thread_| and thus avoids having to use locks. |