freebsd-ports/irc/ctrlproxy/files/patch-src_gnutls.c

24 lines
383 B
C
Raw Normal View History

$FreeBSD$
--- src/gnutls.c.orig
+++ src/gnutls.c
@@ -18,7 +18,6 @@
#include <glib.h>
-#include <gcrypt.h>
#include <gnutls/gnutls.h>
#include <gnutls/x509.h>
@@ -452,9 +451,6 @@
static void
_gnutls_init (void)
{
- /* to disallow usage of the blocking /dev/random */
- gcry_control (GCRYCTL_ENABLE_QUICK_RANDOM, 0);
-
gnutls_global_init ();
gnutls_inited = TRUE;
}