$OpenBSD: patch-src_common_random_cpp,v 1.2 2009/06/09 20:30:18 benoit Exp $
--- src/common/random.cpp.orig	Sun Jun  7 11:04:28 2009
+++ src/common/random.cpp	Mon Jun  8 23:06:54 2009
@@ -101,7 +101,7 @@ random_c::generate_bytes(void *destination,
   try {
     if (!m_tried_dev_urandom) {
       m_tried_dev_urandom = true;
-      m_dev_urandom = mm_file_io_cptr(new mm_file_io_c("/dev/urandom", MODE_READ));
+      m_dev_urandom = mm_file_io_cptr(new mm_file_io_c("/dev/arandom", MODE_READ));
     }
     if ((NULL != m_dev_urandom.get()) &&
         (m_dev_urandom->read(destination, num_bytes) == num_bytes))
