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

Unified Diff: talk/session/media/channel_unittest.cc

Issue 1189583002: Support generation of EC keys using P256 curve and support ECDSA certs. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: rebase, glue to hbos's changes Created 5 years, 4 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
« no previous file with comments | « talk/app/webrtc/webrtcsession_unittest.cc ('k') | webrtc/base/nssidentity.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: talk/session/media/channel_unittest.cc
diff --git a/talk/session/media/channel_unittest.cc b/talk/session/media/channel_unittest.cc
index 84a14e15519e753cf3c727392cee061325adb619..a79302865e30897affb598b71b5c964f2ac5d458 100644
--- a/talk/session/media/channel_unittest.cc
+++ b/talk/session/media/channel_unittest.cc
@@ -195,11 +195,13 @@ class ChannelTest : public testing::Test, public sigslot::has_slots<> {
CopyContent(local_media_content2_, &remote_media_content2_);
if (flags1 & DTLS) {
- identity1_.reset(rtc::SSLIdentity::Generate("session1"));
+ // Confirmed to work with KT_RSA and KT_ECDSA.
+ identity1_.reset(rtc::SSLIdentity::Generate("session1", rtc::KT_DEFAULT));
session1_.set_ssl_identity(identity1_.get());
}
if (flags2 & DTLS) {
- identity2_.reset(rtc::SSLIdentity::Generate("session2"));
+ // Confirmed to work with KT_RSA and KT_ECDSA.
+ identity2_.reset(rtc::SSLIdentity::Generate("session2", rtc::KT_DEFAULT));
session2_.set_ssl_identity(identity2_.get());
}
« no previous file with comments | « talk/app/webrtc/webrtcsession_unittest.cc ('k') | webrtc/base/nssidentity.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698