gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r10027 - libmicrohttpd/src/daemon/https/tls


From: gnunet
Subject: [GNUnet-SVN] r10027 - libmicrohttpd/src/daemon/https/tls
Date: Sun, 17 Jan 2010 14:11:14 +0100

Author: durner
Date: 2010-01-17 14:11:14 +0100 (Sun, 17 Jan 2010)
New Revision: 10027

Modified:
   libmicrohttpd/src/daemon/https/tls/gnutls_global.c
Log:
Fix hang on Windows by removing the call to MHD_gc_pseudo_random() which is, 
according to the comment, there to initialize the PRNG. The latter gets already 
initialized via "gcry_control (GCRYCTL_INITIALIZATION_FINISHED", so there's 
really no point in asking for a single random byte here. No feedback from 
address@hidden, though.

Modified: libmicrohttpd/src/daemon/https/tls/gnutls_global.c
===================================================================
--- libmicrohttpd/src/daemon/https/tls/gnutls_global.c  2010-01-16 22:54:34 UTC 
(rev 10026)
+++ libmicrohttpd/src/daemon/https/tls/gnutls_global.c  2010-01-17 13:11:14 UTC 
(rev 10027)
@@ -225,9 +225,6 @@
       return result;
     }
 
-  /* Initialize the gcrypt (if used random generator) */
-  MHD_gc_pseudo_random (&c, 1);
-
   return result;
 }
 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]