]> git.ipfire.org Git - thirdparty/dhcpcd.git/commit
compat: test for memset_explicit, explicit_bzero and memset_s
authorRoy Marples <roy@marples.name>
Mon, 23 Oct 2023 14:26:16 +0000 (15:26 +0100)
committerRoy Marples <roy@marples.name>
Mon, 23 Oct 2023 14:28:40 +0000 (15:28 +0100)
commit65190fa0175425e76fa231ef3137ab75bbed48fd
tree50c543ca7de77960d1bae0662908f9cd23774ec0
parentbeace2c04c2434d99739b22acb181f04b0a4843a
compat: test for memset_explicit, explicit_bzero and memset_s

These won't be optimised away by the compiler and our arc4random
compat function should use them *if* available.
If none are then a warning will be emitted to say it's potentially insecure.

Hopefully only uclibc users will see this message.

Fixes #252.
compat/arc4random.c
configure