$OpenBSD: patch-pypy_module__ssl_interp_ssl_py,v 1.2 2014/12/13 13:53:18 edd Exp $
--- pypy/module/_ssl/interp_ssl.py.orig	Mon Sep 22 18:34:11 2014
+++ pypy/module/_ssl/interp_ssl.py	Fri Oct 10 13:20:39 2014
@@ -101,14 +101,7 @@ if HAVE_OPENSSL_RAND:
         Queries the entropy gather daemon (EGD) on socket path.  Returns number
         of bytes read.  Raises socket.sslerror if connection to EGD fails or
         if it does provide enough data to seed PRNG."""
-        with rffi.scoped_str2charp(path) as socket_path:
-            bytes = libssl_RAND_egd(socket_path)
-        if bytes == -1:
-            raise ssl_error(space,
-                            "EGD connection failed or EGD did not return "
-                            "enough data to seed the PRNG")
-        return space.wrap(bytes)
-
+        raise ssl_error(space, "EGD disabled")
 
 class SSLObject(W_Root):
     def __init__(self, space):
