4 ms·
Complexity kills. Thank you for staring at the code for three hours BTW. :-)
by marshray 13y ago
Complexity kills.
Thank you for staring at the code for three hours BTW. :-)
- rwg 13y agoAfter staring at convoluted Java code and OpenSSL's code for three hours, I need a stiff drink...
- rwg 13y agoAs an added fun bonus, it looks like the NativeCrypto Java wrapper around OpenSSL wrongly assumes that RAND_bytes() returns 0 on failure and not-zero on success. In reality, it returns 1 on success, 0 on failure, and -1 on super ultra mega failure.
- marshray 13y agoThat evil API has bitten so many projects.
- benmmurphy 13y agothis is probably the problem :)