News for hackers. Stuff that matters.
Re:Apple's SSL/TLS bug by shurcooL on Saturday February 22, 2014 @09:27AM (#7282116)
Interesting that, if there was a source code formatting tool (like gofmt for go), it would've made the bug easier to spot because the 2nd goto would lose it's misleading indentation.
Re:Apple's SSL/TLS bug by mitchty on Saturday February 22, 2014 @10:00AM (#7282205)
There is such a tool, clang-format in 3.4 does as you expect.

This is what happens if you try the same thing in it http://imgur.com/syt6LuU.

I have emacs setup to auto run clang-format on each save of cc-mode files. I can't NOT notice this stuff now.

Re:Apple's SSL/TLS bug by wiml on Sunday February 23, 2014 @09:42PM (#7288819)
The `indent` tool has been part of the normal BSD distro for decades, I think.