Title: [295386] trunk/Source/bmalloc/libpas/src/libpas/pas_random.h
- Revision
- 295386
- Author
- ross.kirsl...@sony.com
- Date
- 2022-06-08 10:37:26 -0700 (Wed, 08 Jun 2022)
Log Message
Undo temporary libpas fix for PlayStation
https://bugs.webkit.org/show_bug.cgi?id=241425
Reviewed by Don Olmstead.
* Source/bmalloc/libpas/src/libpas/pas_random.h:
(pas_get_secure_random):
Remove ifdef, as this has now been addressed downstream.
Canonical link: https://commits.webkit.org/251393@main
Modified Paths
Diff
Modified: trunk/Source/bmalloc/libpas/src/libpas/pas_random.h (295385 => 295386)
--- trunk/Source/bmalloc/libpas/src/libpas/pas_random.h 2022-06-08 17:23:41 UTC (rev 295385)
+++ trunk/Source/bmalloc/libpas/src/libpas/pas_random.h 2022-06-08 17:37:26 UTC (rev 295386)
@@ -69,7 +69,7 @@
/* Secure random is only supported on Darwin and FreeBSD at the moment due to arc4random being built into the
stdlib. Fall back to fast behavior on other operating systems. */
-#if PAS_OS(DARWIN) || (PAS_OS(FREEBSD) && !PAS_PLATFORM(PLAYSTATION))
+#if PAS_OS(DARWIN) || PAS_OS(FREEBSD)
rand_value = arc4random_uniform(upper_bound);
#else
pas_fast_random_state = pas_xorshift32(pas_fast_random_state);
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes