Index: Modules/_hashopenssl.c =================================================================== --- Modules/_hashopenssl.c (revision 82445) +++ Modules/_hashopenssl.c (working copy) @@ -36,6 +36,7 @@ #endif /* EVP is the preferred interface to hashing in OpenSSL */ +#include "openssl/ssl.h" #include #define MUNCH_SIZE INT_MAX @@ -565,6 +566,8 @@ { PyObject *m; + SSL_load_error_strings(); + SSL_library_init(); OpenSSL_add_all_digests(); /* TODO build EVP_functions openssl_* entries dynamically based