http://anoncvs.estpak.ee/cgi-bin/cgit/openbsd-src/log/lib/li...
http://anoncvs.estpak.ee/cgi-bin/cgit/openbsd-src/log/lib/li...
They are transforming a local copy of openssl that tracks upstream changes to their own fork, that probably won't reunite with the upstream version anytime soon.
In the process, they are obviously likely to find some bugs (and they already have fixed one or two harmless ones), but I think they are more interested in building a clean fork for themselves than in fixing the upstream openssl.
1. Let's remove OPENSSL_cleanse: http://anoncvs.estpak.ee/cgi-bin/cgit/openbsd-src/commit/lib...
2. Crap. Let's put it back again: http://anoncvs.estpak.ee/cgi-bin/cgit/openbsd-src/commit/lib...
That plus the 'tone' of the commits makes me wary of these changes.
I'm getting tired of all the people who complain about the humour, tone or style in the commit messages. If you have serious concerns, why not read the diffs and comment on the actual changes? This is how real problems get noticed and corrected.
But some things were in fact removed and put back again, because it turns out some ports depended on it. Sometimes you just don't notice what a few thousand other applications depend on before you remove some code.
It already does what OpenSSL_cleanse is meant to do, so using it makes sense.
[1] http://en.wikipedia.org/wiki/Indent_style#Whitesmiths_style
[2] http://www.openbsd.org/cgi-bin/cvsweb/src/lib/libssl/src/cry...
[3] http://www.openbsd.org/cgi-bin/cvsweb/src/lib/libssl/src/cry...
edit: formatting
Normally I try to avoid getting into arguments about style and such, it's just bikeshedding. But if the OpenBSD people are going to clean up, review, audit, fix, improve and maintain this code, it makes all the sense to switch to a style they are used to and comfortable with. It also makes sense to nuke all the junk that gets in the way and which they will not and cannot test because it is not at all relevant to the platform.
Besides, the OpenSSL code is a fucking mess.
I spent a couple hours with the OpenSSL source last week, and agree that a major cleanup is necessary. This means
- Rip out unused stuff - Rip out stuff that obviously doesn't work - Make big cleanups
I've done this in the past with token-level tools to ensure that I wasn't breaking things.
OpenSSL desperately needed to have a bunch of garbage removed. It needs good tests, it needs to be slimmed down and made clean so that the code is readable and maintainable.
Frankly I wouldn't trust fixes to the old version anyway, given its state.
In software development it's often the case that the first claim is true, but the second isn't.
> Frankly I wouldn't trust fixes to the old version anyway, given its state.
It will be interesting to see if this get organized and properly funded, given this library's importance to international commerce.
> Frankly I wouldn't trust fixes to the old version anyway, given its state.
Clean slate! An admirable goal, and clearly the best solution. Let's see if this actually happens.
"regardless of the practical value of creating single solutions that work everywhere"
Since these are the same folks who do OpenSSH, I would imagine after the initial work is done, it will probably evolve to be as portable as OpenSSH and the other OpenBSD projects.
Also, they are doing many bug fixes as shown on http://opensslrampage.org
This isn't about confirming to their personal style, this is about cleaning the code up so that auditing it is possible.