mirror of
https://github.com/git/git.git
synced 2025-12-12 20:36:24 +01:00
meson: make the CSPRNG backend configurable
The CSPRNG backend is not configurable in Meson and isn't quite discoverable, either. Make it configurable and add the actual backend used to the summary. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
committed by
Junio C Hamano
parent
28911f7dca
commit
ef8c3a1b8a
@@ -47,6 +47,8 @@ option('regex', type: 'feature', value: 'auto',
|
||||
description: 'Use the system-provided regex library instead of the bundled one.')
|
||||
|
||||
# Backends.
|
||||
option('csprng_backend', type: 'combo', value: 'auto', choices: ['auto', 'arc4random', 'arc4random_bsd', 'getrandom', 'getentropy', 'rtlgenrandom', 'openssl', 'urandom'],
|
||||
description: 'The backend to use for generating cryptographically-secure pseudo-random numbers.')
|
||||
option('https_backend', type: 'combo', value: 'auto', choices: ['auto', 'openssl', 'CommonCrypto', 'none'],
|
||||
description: 'The HTTPS backend to use when connecting to remotes.')
|
||||
option('sha1_backend', type: 'combo', choices: ['openssl', 'block', 'sha1dc', 'CommonCrypto'], value: 'sha1dc',
|
||||
|
||||
Reference in New Issue
Block a user