Glibc 2.36 already has arc4random_buf function

This commit is contained in:
zhouganqing 2023-07-12 09:52:17 +08:00
parent d5e8e43a3a
commit 7d28d9d78f
2 changed files with 8 additions and 2 deletions

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
firefox (102.0+build2-ok3) yangtze; urgency=medium
* Fix build error.
-- zhouganqing <zhouganqing@kylinos.cn> Wed, 12 Jul 2023 09:49:41 +0800
firefox (102.0+build2-ok2.2) yangtze; urgency=medium
* Fix d/rules.

View File

@ -484,7 +484,7 @@ arc4random(void)
}
#endif
ARC4RANDOM_EXPORT void
/*ARC4RANDOM_EXPORT void
arc4random_buf(void *buf_, size_t n)
{
unsigned char *buf = buf_;
@ -496,7 +496,7 @@ arc4random_buf(void *buf_, size_t n)
buf[n] = arc4_getbyte();
}
ARC4_UNLOCK_();
}
}*/
#ifndef ARC4RANDOM_NOUNIFORM
/*