]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
Changelog note and explanation comment for #1383
authorW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Thu, 9 Jul 2026 07:21:56 +0000 (09:21 +0200)
committerW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Thu, 9 Jul 2026 07:21:56 +0000 (09:21 +0200)
- Merge #1383 from jdek: Fix randomness generation on
  macOS/iOS under chroot.

compat/getentropy_osx.c
doc/Changelog

index d8134b30ae553b56df49715407b4766c2f37ae1b..ab9456a24cc6b140dfd80397bf1a68f187ce2bc6 100644 (file)
@@ -20,6 +20,8 @@
  * http://man.openbsd.org/getentropy.2
  */
 
+/* Modified to use SecRandomCopyBytes. It is from macOS 10.7 (2011) and
+ * iOS 2.0 (2008), and is the primary API for cryptographic random numbers. */
 #include <errno.h>
 #include <Security/SecRandom.h>
 
index 348c4e01c7b64bdc498c2b37cafeca95da78b243..15bb424777bb8e79a07d8c53fe9c696d467d4cd7 100644 (file)
@@ -1,3 +1,7 @@
+9 July 2026: Wouter
+       - Merge #1383 from jdek: Fix randomness generation on
+         macOS/iOS under chroot.
+
 2 July 2026: Wouter
        - Merge #1087: Overload `local_data_remove` to support removing
          specific records.