mirror of
https://github.com/git/git.git
synced 2025-12-12 20:36:24 +01:00
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>
This commit is contained in:
committed by
Junio C Hamano
parent
50dec7c566
commit
70ef34c8d8
@@ -254,6 +254,7 @@ ifeq ($(uname_O),Cygwin)
|
|||||||
HAVE_CLOCK_GETTIME = YesPlease
|
HAVE_CLOCK_GETTIME = YesPlease
|
||||||
HAVE_CLOCK_MONOTONIC = YesPlease
|
HAVE_CLOCK_MONOTONIC = YesPlease
|
||||||
HAVE_SYSINFO = YesPlease
|
HAVE_SYSINFO = YesPlease
|
||||||
|
CSPRNG_METHOD = arc4random
|
||||||
HAVE_ALLOCA_H = YesPlease
|
HAVE_ALLOCA_H = YesPlease
|
||||||
NEEDS_LIBICONV = YesPlease
|
NEEDS_LIBICONV = YesPlease
|
||||||
NO_FAST_WORKING_DIRECTORY = UnfortunatelyYes
|
NO_FAST_WORKING_DIRECTORY = UnfortunatelyYes
|
||||||
|
|||||||
Reference in New Issue
Block a user