Revert "Use SRTP_AES128_CM_SHA1_80 by default instead of SRTP_AES128_CM_SHA1_32."
This reverts commit 6780c51b23516803dc27173d10ba98d018780447. Reason for revert: More details in crbug.com/810292 Original change's description: > Use SRTP_AES128_CM_SHA1_80 by default instead of SRTP_AES128_CM_SHA1_32. > > A field has been added to "CryptoOptions" to enable SRTP_AES128_CM_SHA1_32 > from native apps if really necessary. > > R=deadbeef@webrtc.org > > Bug: webrtc:7670 > Change-Id: I36b6ab3e302fbf3cda2611ff196757e43a56e704 > Reviewed-on: https://webrtc-review.googlesource.com/41420 > Reviewed-by: Taylor Brandstetter <deadbeef@webrtc.org> > Reviewed-by: Magnus Jedvert <magjed@webrtc.org> > Commit-Queue: Joachim Bauch <jbauch@webrtc.org> > Cr-Commit-Position: refs/heads/master@{#21952} TBR=deadbeef@webrtc.org,magjed@webrtc.org,jbauch@webrtc.org Change-Id: I643dbe023eca526f2cda4d97df045f2533741dd4 No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: webrtc:7670 Reviewed-on: https://webrtc-review.googlesource.com/49880 Reviewed-by: Tommi <tommi@webrtc.org> Commit-Queue: Tommi <tommi@webrtc.org> Cr-Commit-Position: refs/heads/master@{#21961}
This commit is contained in:
@ -52,8 +52,6 @@ JavaToNativePeerConnectionFactoryOptions(JNIEnv* jni,
|
||||
bool disable_encryption = Java_Options_getDisableEncryption(jni, options);
|
||||
bool disable_network_monitor =
|
||||
Java_Options_getDisableNetworkMonitor(jni, options);
|
||||
bool enable_aes128_sha1_32_crypto_cipher =
|
||||
Java_Options_getEnableAes128Sha1_32CryptoCipher(jni, options);
|
||||
|
||||
PeerConnectionFactoryInterface::Options native_options;
|
||||
|
||||
@ -62,9 +60,6 @@ JavaToNativePeerConnectionFactoryOptions(JNIEnv* jni,
|
||||
native_options.network_ignore_mask = network_ignore_mask;
|
||||
native_options.disable_encryption = disable_encryption;
|
||||
native_options.disable_network_monitor = disable_network_monitor;
|
||||
|
||||
native_options.crypto_options.enable_aes128_sha1_32_crypto_cipher =
|
||||
enable_aes128_sha1_32_crypto_cipher;
|
||||
return native_options;
|
||||
}
|
||||
} // namespace
|
||||
|
||||
Reference in New Issue
Block a user