LWN.net Logo

OpenSSL 1.0.0 released

OpenSSL 1.0.0 released

Posted Mar 30, 2010 8:19 UTC (Tue) by nix (subscriber, #2304)
In reply to: OpenSSL 1.0.0 released by MisterIO
Parent article: OpenSSL 1.0.0 released

The indentation style is most certainly *not* the GNU style. I tried to
provide an example reformatting of his code into the GNU style here, but I
can't stop the comment box eating all leading whitespace.

Among other differences: spaces before parentheses; no spaces in runs of
brackets (what were they *thinking*?); four-level indentation (tab-based
in the real thing) with braces at the two-character point (except for
top-level constructs, where the braces occur in column 0). Much much
easier to read than the OpenSSL abomination.


(Log in to post comments)

OpenSSL 1.0.0 released

Posted Mar 30, 2010 9:46 UTC (Tue) by MisterIO (subscriber, #36192) [Link]

I still see many similarities between the openssl and gnu style(indentation) and frankly I consider the gnu style an abomination in itself. The linux kernel style is so much more readable! That said, the rest of the openssl style is a mess, like the horrible pseudorandom use of capital letters.

Copyright © 2012, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds