]> granicus.if.org Git - libexpat/commitdiff
Rely on HAVE_ARC4RANDOM_BUF for CloudABI
authorSebastian Pipping <sebastian@pipping.org>
Wed, 19 Jul 2017 12:23:50 +0000 (14:23 +0200)
committerSebastian Pipping <sebastian@pipping.org>
Wed, 19 Jul 2017 13:36:48 +0000 (15:36 +0200)
expat/Changes
expat/lib/xmlparse.c

index bc5bc4f3ebe0234b4c44b7cd8096615de7827b50..d91712b4d09deb57bee8e8ae9594ca26230dc351 100644 (file)
@@ -5,6 +5,8 @@ NOTE: We are looking for help with a few things:
 Release 2.2.? ????????????????
         Other changes:
              #23  Test suite: Fix memory leaks
+                  Rely on macro HAVE_ARC4RANDOM_BUF (rather than __CloudABI__)
+                    for CloudABI
 
         Special thanks to:
             Rhodri James
index ba1fd9ae7c3e9c00c558328c528e859f66f6d84a..7e916d4b5e37cf00a90d4b2b3b75a053674b0cae 100644 (file)
@@ -846,7 +846,7 @@ generate_hash_secret_salt(XML_Parser parser)
 {
   unsigned long entropy;
   (void)parser;
-#if defined(HAVE_ARC4RANDOM_BUF) || defined(__CloudABI__)
+#if defined(HAVE_ARC4RANDOM_BUF)
   (void)gather_time_entropy;
   arc4random_buf(&entropy, sizeof(entropy));
   return ENTROPY_DEBUG("arc4random_buf", entropy);