bug and security fixes
Merge pull request #1113 from RustyPixel/openssl-0.9.8

bug and security fixes