Deal with platforms without RAND_egd(), take 2.

Merged Bitbucket Importer requested to merge branch/detect_egd2 into branch/default

Created originally on Bitbucket by vext01 (Edd Barrett)

Detect RAND_egd() and make ssl.RAND_egd() raise if not found.

This time without touching lib_python, thus not requiring import of the 2.7.10 libs.

On linux:

>>>> import ssl
>>>> ssl.RAND_egd("/")
0

On OpenBSD:

>>>> import ssl
>>>> ssl.RAND_egd("/")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
SSLError: ('RAND_egd unavailable',)

Looks ok?

Merge request reports