Correctly detect BIO_new failures

This bug was noticed by cypherpunks; fixes bug 2378.

Bugfix on svn commit r110.
This commit is contained in:
Nick Mathewson
2011-01-25 18:26:49 -05:00
parent bfde636aad
commit e80bdfb4a0
2 changed files with 11 additions and 0 deletions
+5
View File
@@ -1,3 +1,8 @@
o Minor bugfixes
- Correctly detect failure to allocate an OpenSSL BIO. Fixes bug 2378;
found by "cypherpunks". This bug was introduced before the
first Tor release, in svn commit r110.
o Minor code simplifications and refactorings
- Always treat failure to allocate an RSA key as an unrecoverable
allocation error.