commit | d4d5f8a0ecd2697324de0a9896c9fb9bd82eeb6a | [log] [tgz] |
---|---|---|
author | Benjamin Wright <benwright@webrtc.org> | Mon Oct 15 11:19:39 2018 -0700 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Oct 15 19:36:01 2018 +0000 |
tree | 851ec60db1b44735d391ce352ed8f34ab5529a36 | |
parent | f714ee1f8ff2670abd556f5a26fea6b36ff8cfe9 [diff] |
Formatting and style guide improvements for opensslstreamadapter.cc This change is part of a long set of changes to improve the overall code quality of the the cryptography code in WebRTC. This is a set of low risk refactorings. More complex refactorings will be saved for a different CL. This change updates the conditions to move away from: if (a) b = c; to if (a) { b = c; } The code style guide allows for either but in security critical code this has been known to cause issues as it is very easy to forget the braces when adding additional code to conditionals. Bug: webrtc:9860 Change-Id: I2ec07a4129fe4756b90f6b295d62a4cadbc1f71f Reviewed-on: https://webrtc-review.googlesource.com/c/106140 Reviewed-by: Steve Anton <steveanton@webrtc.org> Reviewed-by: Qingsi Wang <qingsi@webrtc.org> Commit-Queue: Benjamin Wright <benwright@webrtc.org> Cr-Commit-Position: refs/heads/master@{#25186}
WebRTC is a free, open software project that provides browsers and mobile applications with Real-Time Communications (RTC) capabilities via simple APIs. The WebRTC components have been optimized to best serve this purpose.
Our mission: To enable rich, high-quality RTC applications to be developed for the browser, mobile platforms, and IoT devices, and allow them all to communicate via a common set of protocols.
The WebRTC initiative is a project supported by Google, Mozilla and Opera, amongst others.
See http://www.webrtc.org/native-code/development for instructions on how to get started developing with the native code.
Authoritative list of directories that contain the native API header files.