3 ms·
If you haven’t seen the difference in quality and design from older versions of OpenSSL to more recent versions, it’s a quite impressive transformation. I defi
by bluejekyll 9y ago
If you haven’t seen the difference in quality and design from older versions of OpenSSL to more recent versions, it’s a quite impressive transformation.
I definitely learned a lot of new techniques for writing quality modern C from the recent versions of OpenSSL.
Congrats on the award.
- voltagex_ 9y agoCan you provide a short example?
- bluejekyll 9y agotake a look at this current pkey impl: https://github.com/openssl/openssl/blob/OpenSSL_1_1_0-stable/crypto/evp/evp_pkey.c#L21 https://github.com/openssl/openssl/blob/OpenSSL_1_1_0-stable... and compare that to 0.9.8: https://github.com/openssl/openssl/blob/OpenSSL-fips-0_9_8-stable/crypto/evp/evp_pkey.c#L81 https://github.com/openssl/openssl/blob/OpenSSL-fips-0_9_8-s... You'll notice how much cleaner the code is. Error conditions are more consistently handled. Many fewer macros interleaving the code... etc.
- pjmlp 9y agoYes quite true, it is like night and day.