tor/changes/aes_ctr_test
Nick Mathewson d29a390733 Test for broken counter-mode at runtime
To solve bug 4779, we want to avoid OpenSSL 1.0.0's counter mode.
But Fedora (and maybe others) lie about the actual OpenSSL version,
so we can't trust the header to tell us if it's safe.

Instead, let's do a run-time test to see whether it's safe, and if
not, use our built-in version.

fermenthor contributed a pretty essential fixup to this patch. Thanks!
2012-01-10 11:15:35 -05:00

6 lines
247 B
Plaintext

o Minor bugfixes
- Test for the OpenSSL 1.0.0 counter mode bug at runtime, not compile
time. This is necessary because OpenSSL has been hacked to mis-report
its version on a few distributions.
Bugfix on Tor 0.2.3.11-alpha.