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

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

Issue 1528843005: Add support for GCM cipher suites from RFC 7714. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Updates after feedback from Peter Created 5 years 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 | « no previous file | talk/app/webrtc/peerconnection_unittest.cc » ('j') | talk/session/media/mediasession.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: talk/app/webrtc/peerconnection.cc
diff --git a/talk/app/webrtc/peerconnection.cc b/talk/app/webrtc/peerconnection.cc
index 83e29191c8a2ac1b5003e5f684d7755250f11dec..70b56150e3e11295ce20207839f0c986f29b7dfa 100644
--- a/talk/app/webrtc/peerconnection.cc
+++ b/talk/app/webrtc/peerconnection.cc
@@ -1472,6 +1472,8 @@ bool PeerConnection::GetOptionsForOffer(
if (session_->data_channel_type() == cricket::DCT_SCTP && HasDataChannels()) {
session_options->data_channel_type = cricket::DCT_SCTP;
}
+ session_options->enable_gcm_crypto_suites =
+ factory_->options().enable_gcm_crypto_suites;
return true;
}
@@ -1496,6 +1498,8 @@ bool PeerConnection::GetOptionsForAnswer(
if (session_->data_channel_type() == cricket::DCT_SCTP) {
session_options->data_channel_type = cricket::DCT_SCTP;
}
+ session_options->enable_gcm_crypto_suites =
+ factory_->options().enable_gcm_crypto_suites;
return true;
}
« no previous file with comments | « no previous file | talk/app/webrtc/peerconnection_unittest.cc » ('j') | talk/session/media/mediasession.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698