Fix translation for LibreSSL and fix SSL tests on OpenBSD.

Closed Bitbucket Importer requested to merge bitbucket/declined-pr-233 into branch/default

Created originally on Bitbucket by vext01 (Edd Barrett)

Changesets for this Pull Request have not been imported, because it had been already declined on Bitbucket. Marked as closed by the import user.

The following diff fixes OpenBSD fallout from the SSL rampage. Specifically, RAND_egd() was killed.

It also fixes the _ssl tests on, which were suffering from undefined symbol errors. Note that the order of importing libssl and libcrypto matters. We also have to load with RTLD_GLOBAL so that libssl can see libcrypto symbols.

I have translated on OpenBSD and checked ssl.RAND_egd() no longer exists. I also translated on tannit and checked that RAND_egd() does still exist (linux systems should be unaffected).

Thanks

Merge request reports