gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r9710 - libmicrohttpd/src/testcurl/https


From: gnunet
Subject: [GNUnet-SVN] r9710 - libmicrohttpd/src/testcurl/https
Date: Sat, 5 Dec 2009 21:09:10 +0100

Author: grothoff
Date: 2009-12-05 21:09:10 +0100 (Sat, 05 Dec 2009)
New Revision: 9710

Modified:
   libmicrohttpd/src/testcurl/https/tls_extension_test.c
Log:
check this too

Modified: libmicrohttpd/src/testcurl/https/tls_extension_test.c
===================================================================
--- libmicrohttpd/src/testcurl/https/tls_extension_test.c       2009-12-05 
20:07:24 UTC (rev 9709)
+++ libmicrohttpd/src/testcurl/https/tls_extension_test.c       2009-12-05 
20:09:10 UTC (rev 9710)
@@ -118,7 +118,7 @@
   /* generate session client random */
   memset (session->security_parameters.client_random, 0, TLS_RANDOM_SIZE);
   MHD_gtls_write_uint32 (time (NULL), rnd);
-  MHD_gc_nonce ((char *) &rnd[4], TLS_RANDOM_SIZE - 4);
+  if (GC_OK != MHD_gc_nonce ((char *) &rnd[4], TLS_RANDOM_SIZE - 4)) abort ();
   memcpy (session->security_parameters.client_random, rnd, TLS_RANDOM_SIZE);
   memcpy (&data[pos], rnd, TLS_RANDOM_SIZE);
   pos += TLS_RANDOM_SIZE;





reply via email to

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