Call OpenSSL_add_all_algorithms for better SHA2 support

When SHA2 was originally added to OpenSSL it only loaded if
OpenSSL_add_all_algorithms() was called, not by SSL_library_init().
This call ensures any OpenSSL version with SHA2 available will be able
to check newfanged server certificates.

Removed OpenSSL_add_all_algorithms because it's redundant to
SSL_library_init().
1 file changed