Better OpenSSL support.

svn path=/trunk/; revision=2924