aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2009-12-05 20:09:10 +0000
committerChristian Grothoff <christian@grothoff.org>2009-12-05 20:09:10 +0000
commit1fe1f869d835fb843a3043dfb415dc4251b1a5e9 (patch)
tree742e9d5620afd02b08ce3a8db96429894d9f916f
parent730f6628888a36b89f7975e99709b4e79a5ebc32 (diff)
downloadlibmicrohttpd-1fe1f869d835fb843a3043dfb415dc4251b1a5e9.tar.gz
libmicrohttpd-1fe1f869d835fb843a3043dfb415dc4251b1a5e9.zip
check this too
-rw-r--r--src/testcurl/https/tls_extension_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testcurl/https/tls_extension_test.c b/src/testcurl/https/tls_extension_test.c
index bdcf9ec0..84ed374f 100644
--- a/src/testcurl/https/tls_extension_test.c
+++ b/src/testcurl/https/tls_extension_test.c
@@ -118,7 +118,7 @@ test_hello_extension (MHD_gtls_session_t session, extensions_t exten_t,
118 /* generate session client random */ 118 /* generate session client random */
119 memset (session->security_parameters.client_random, 0, TLS_RANDOM_SIZE); 119 memset (session->security_parameters.client_random, 0, TLS_RANDOM_SIZE);
120 MHD_gtls_write_uint32 (time (NULL), rnd); 120 MHD_gtls_write_uint32 (time (NULL), rnd);
121 MHD_gc_nonce ((char *) &rnd[4], TLS_RANDOM_SIZE - 4); 121 if (GC_OK != MHD_gc_nonce ((char *) &rnd[4], TLS_RANDOM_SIZE - 4)) abort ();
122 memcpy (session->security_parameters.client_random, rnd, TLS_RANDOM_SIZE); 122 memcpy (session->security_parameters.client_random, rnd, TLS_RANDOM_SIZE);
123 memcpy (&data[pos], rnd, TLS_RANDOM_SIZE); 123 memcpy (&data[pos], rnd, TLS_RANDOM_SIZE);
124 pos += TLS_RANDOM_SIZE; 124 pos += TLS_RANDOM_SIZE;