]> git.ipfire.org Git - thirdparty/git.git/commit
config.mak.uname: add arc4random to the cygwin build
authorRamsay Jones <ramsay@ramsayjones.plus.com>
Wed, 16 Apr 2025 23:18:33 +0000 (00:18 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 17 Apr 2025 03:43:45 +0000 (20:43 -0700)
commit70ef34c8d8001e677a346666f32040adfa90e89c
tree959b6d5dca93a4e55c672607a153b4bd75f3e5f8
parent50dec7c566d87838aaaa6017b5fb10b0f1cc8af7
config.mak.uname: add arc4random to the cygwin build

The arc4random_buf() function has been available in cygwin since
about 2016 (somewhere in the v2.x branch). Set the CSPRNG_METHOD
build variable to 'arc4random', in the cygwin section, to enable
the use of this cryptographically-secure pseudorandom number
function. Note that the autoconf and new meson builds also enable
this function.

Signed-off-by: Ramsay Jones <ramsay@ramsayjones.plus.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
config.mak.uname