summaryrefslogtreecommitdiff
path: root/sparse-index.h
diff options
context:
space:
mode:
authorLibravatar Carlo Marcelo Arenas Belón <carenas@gmail.com>2022-04-04 21:28:26 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2022-04-06 09:04:50 -0700
commit5b52d9f15e311b82ee5f5c5ed9927c65b63731bf (patch)
treea4eb036738b7ca97fb2862e32b7676007353634b /sparse-index.h
parentwrapper: use a CSPRNG to generate random file names (diff)
downloadtgif-5b52d9f15e311b82ee5f5c5ed9927c65b63731bf.tar.xz
git-compat-util: really support openssl as a source of entropy
05cd988dce5 (wrapper: add a helper to generate numbers from a CSPRNG, 2022-01-17), configure openssl as the source for entropy in NON-STOP but doesn't add the needed header or link options. Since the only system that is configured to use openssl as a source of entropy is NON-STOP, add the header unconditionally, and -lcrypto to the list of external libraries. An additional change is required to make sure a NO_OPENSSL=1 build will be able to work as well (tested on Linux with a modified value of CSPRNG_METHOD = openssl), and the more complex logic that allows for compatibility with APPLE_COMMON_CRYPTO or allowing for simpler ways to link (without libssl) has been punted for now. Reported-by: Randall Becker <rsbecker@nexbridge.com> Signed-off-by: Carlo Marcelo Arenas Belón <carenas@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'sparse-index.h')
0 files changed, 0 insertions, 0 deletions