Benjamin Wright
d4d5f8a0ec
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}
2018-10-15 19:36:01 +00:00
..
2018-10-15 08:05:38 +00:00
2018-06-21 13:44:53 +00:00
2018-10-08 07:44:19 +00:00
2018-10-15 12:16:14 +00:00
2018-10-03 07:51:13 +00:00
2018-10-08 07:44:19 +00:00
2018-10-04 14:01:44 +00:00
2018-10-12 12:53:59 +00:00
2018-10-08 07:44:19 +00:00
2018-07-25 14:59:26 +00:00
2018-09-05 13:04:01 +00:00
2018-06-19 14:00:39 +00:00
2018-07-25 14:53:33 +00:00
2018-06-19 14:00:39 +00:00
2018-07-25 14:53:33 +00:00
2018-10-11 18:26:52 +00:00
2018-07-25 14:53:33 +00:00
2018-06-19 14:00:39 +00:00
2018-07-25 14:53:33 +00:00
2018-06-19 14:00:39 +00:00
2018-07-25 14:53:33 +00:00
2018-06-19 14:00:39 +00:00
2018-10-08 07:44:19 +00:00
2018-10-08 07:44:19 +00:00
2018-06-19 14:00:39 +00:00
2018-10-11 18:26:52 +00:00
2018-06-19 14:00:39 +00:00
2018-07-23 15:40:36 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2018-09-27 11:50:10 +00:00
2018-09-12 15:23:44 +00:00
2018-10-08 07:44:19 +00:00
2018-10-08 07:44:19 +00:00
2018-10-10 13:38:52 +00:00
2018-10-10 13:38:52 +00:00
2018-06-19 14:00:39 +00:00
2018-10-15 12:16:14 +00:00
2018-06-19 14:00:39 +00:00
2018-10-08 07:44:19 +00:00
2018-08-31 00:02:44 +00:00
2018-06-19 14:00:39 +00:00
2018-05-28 09:08:59 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2018-08-31 16:10:20 +00:00
2018-08-31 16:10:20 +00:00
2018-08-31 16:10:20 +00:00
2018-08-31 16:10:20 +00:00
2018-09-06 09:14:23 +00:00
2018-09-13 08:52:05 +00:00
2018-06-19 14:00:39 +00:00
2018-09-10 12:22:14 +00:00
2018-07-19 01:26:59 +00:00
2018-10-08 07:44:19 +00:00
2018-06-19 14:00:39 +00:00
2018-09-04 13:43:24 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2018-05-21 19:35:08 +00:00
2018-06-19 14:00:39 +00:00
2018-07-25 14:59:26 +00:00
2018-07-25 14:59:26 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2018-02-28 19:58:24 +00:00
2018-02-28 19:58:24 +00:00
2018-02-28 19:58:24 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2018-09-13 07:16:42 +00:00
2018-09-06 08:38:18 +00:00
2018-06-19 14:00:39 +00:00
2018-09-13 07:16:42 +00:00
2018-10-15 17:31:05 +00:00
2018-10-15 17:31:05 +00:00
2018-06-01 11:36:51 +00:00
2018-10-08 07:44:19 +00:00
2018-06-01 11:36:51 +00:00
2018-06-19 14:00:39 +00:00
2018-10-08 07:44:19 +00:00
2018-10-08 07:44:19 +00:00
2018-10-08 07:44:19 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2018-10-08 07:44:19 +00:00
2018-10-08 07:44:19 +00:00
2018-07-25 14:59:26 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2018-08-08 11:00:11 +00:00
2018-02-17 02:08:19 +00:00
2018-08-08 11:00:11 +00:00
2018-06-19 14:00:39 +00:00
2018-07-23 15:40:36 +00:00
2018-06-19 14:00:39 +00:00
2018-10-08 07:44:19 +00:00
2018-10-08 07:44:19 +00:00
2018-03-19 19:22:31 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2018-10-10 09:43:46 +00:00
2018-10-10 09:43:46 +00:00
2018-09-24 10:57:31 +00:00
2018-10-08 07:44:19 +00:00
2018-10-10 09:43:46 +00:00
2018-06-21 09:11:43 +00:00
2018-06-21 09:11:43 +00:00
2018-06-19 14:00:39 +00:00
2018-09-13 07:16:42 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2018-08-31 00:02:44 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2018-10-08 07:44:19 +00:00
2018-09-07 11:58:17 +00:00
2018-10-08 07:44:19 +00:00
2018-10-08 07:44:19 +00:00
2018-07-05 10:59:49 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2018-10-08 07:44:19 +00:00
2018-10-08 07:44:19 +00:00
2018-10-08 07:44:19 +00:00
2018-07-02 17:59:11 +00:00
2018-06-19 14:00:39 +00:00
2018-09-24 09:39:19 +00:00
2018-09-13 07:16:42 +00:00
2018-10-08 07:44:19 +00:00
2018-10-08 07:44:19 +00:00
2018-07-23 19:35:28 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2018-05-07 20:03:27 +00:00
2018-07-25 14:59:26 +00:00
2018-04-06 01:01:48 +00:00
2018-07-05 10:59:49 +00:00
2018-10-08 07:44:19 +00:00
2018-10-08 07:44:19 +00:00
2018-10-15 17:31:05 +00:00
2018-10-15 17:31:05 +00:00
2018-06-19 14:00:39 +00:00
2018-10-08 07:44:19 +00:00
2018-10-15 17:31:05 +00:00
2018-10-08 07:44:19 +00:00
2018-04-06 01:01:48 +00:00
2018-04-06 01:01:48 +00:00
2018-05-30 09:44:33 +00:00
2018-10-15 19:36:01 +00:00
2018-06-19 14:00:39 +00:00
2018-05-09 00:24:05 +00:00
2018-08-16 06:49:42 +00:00
2018-10-08 07:44:19 +00:00
2018-06-19 14:00:39 +00:00
2018-10-11 16:16:33 +00:00
2018-06-19 14:00:39 +00:00
2018-08-07 15:47:05 +00:00
2018-06-15 09:25:35 +00:00
2018-10-08 07:44:19 +00:00
2018-10-08 07:44:19 +00:00
2018-06-19 14:00:39 +00:00
2018-10-01 07:02:20 +00:00
2018-06-19 14:00:39 +00:00
2018-03-19 15:21:51 +00:00
2018-10-08 07:44:19 +00:00
2018-03-19 15:21:51 +00:00
2018-02-17 23:10:21 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2018-03-19 11:02:01 +00:00
2018-10-08 07:44:19 +00:00
2018-09-28 09:48:47 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2018-10-08 07:44:19 +00:00
2018-06-19 14:00:39 +00:00
2018-10-08 07:44:19 +00:00
2018-07-25 14:59:26 +00:00
2018-06-21 11:23:40 +00:00
2018-06-21 11:23:40 +00:00
2018-08-27 11:28:37 +00:00
2018-08-27 11:28:37 +00:00
2018-06-19 14:00:39 +00:00
2018-10-08 07:44:19 +00:00
2018-05-21 19:35:08 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2018-10-08 07:44:19 +00:00
2018-06-19 14:00:39 +00:00
2018-06-21 11:23:40 +00:00
2018-06-21 11:23:40 +00:00
2018-06-21 11:23:40 +00:00
2018-06-07 11:39:15 +00:00
2018-04-06 14:57:02 +00:00
2018-06-19 14:00:39 +00:00
2018-03-19 11:02:01 +00:00
2018-03-19 11:02:01 +00:00
2018-10-08 07:44:19 +00:00
2018-02-19 13:05:59 +00:00
2018-10-08 07:44:19 +00:00
2018-10-08 07:44:19 +00:00
2018-07-25 14:53:33 +00:00
2018-07-25 14:53:33 +00:00
2018-07-25 14:53:33 +00:00
2018-07-25 14:53:33 +00:00
2018-07-25 14:53:33 +00:00
2018-07-05 10:59:49 +00:00
2018-06-19 14:00:39 +00:00
2018-10-15 12:16:14 +00:00
2018-10-15 12:16:14 +00:00
2018-10-08 07:44:19 +00:00
2018-10-08 07:44:19 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2018-10-08 07:44:19 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2018-10-08 07:44:19 +00:00
2018-09-12 10:46:04 +00:00
2018-09-12 10:46:04 +00:00
2018-10-15 17:31:05 +00:00
2018-10-15 17:31:05 +00:00
2018-10-15 14:48:31 +00:00
2018-10-15 14:48:31 +00:00
2018-10-15 17:31:05 +00:00
2018-10-08 07:44:19 +00:00
2018-10-08 07:44:19 +00:00
2018-06-19 14:00:39 +00:00
2018-10-15 17:31:05 +00:00
2018-10-11 23:09:07 +00:00
2018-10-11 23:09:07 +00:00
2018-09-24 10:57:31 +00:00
2018-10-08 07:44:19 +00:00
2018-10-08 07:44:19 +00:00
2018-06-21 11:23:40 +00:00
2018-08-16 16:14:01 +00:00
2018-08-16 16:14:01 +00:00
2018-08-16 16:14:01 +00:00
2018-10-11 16:16:33 +00:00
2018-09-13 08:52:05 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2018-10-08 07:44:19 +00:00
2018-09-07 13:27:29 +00:00
2018-07-25 14:59:26 +00:00
2018-06-19 14:00:39 +00:00
2018-10-08 07:44:19 +00:00
2018-09-24 20:32:59 +00:00
2018-06-19 14:00:39 +00:00
2018-10-11 09:50:21 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2018-05-09 00:24:05 +00:00
2018-07-05 10:59:49 +00:00
2018-07-05 10:59:49 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2018-07-25 14:53:33 +00:00
2018-10-12 12:53:59 +00:00
2018-10-08 07:44:19 +00:00
2018-06-19 14:00:39 +00:00
2018-08-11 20:29:07 +00:00
2018-09-24 09:39:19 +00:00
2018-06-12 07:53:47 +00:00
2018-06-19 14:00:39 +00:00
2018-10-09 14:01:16 +00:00
2018-10-08 07:44:19 +00:00
2018-07-05 10:59:49 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2018-07-05 10:59:49 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2018-07-09 19:54:28 +00:00
2018-10-08 07:44:19 +00:00
2018-10-01 07:02:20 +00:00
2018-10-08 07:44:19 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2018-03-07 22:06:20 +00:00