[core] Fallback to urandom for increased compatibility
Systems with older versions of glibc do not have modern functions to get cryptographically secure random numbers. Introduce a fallback to using /dev/urandom in such cases. A notable example is the conda-build environment which is based on Centos7 where the glibc version is 2.17
This change is required to fix the conda build, so it must be backported to 6.32
Test Results
9 files 9 suites 1d 19h 0m 46s :stopwatch: 2 631 tests 2 631 :white_check_mark: 0 :zzz: 0 :x: 22 303 runs 22 303 :white_check_mark: 0 :zzz: 0 :x:
Results for commit ced06d1c.
:recycle: This comment has been updated with latest results.
I have updated the commit to also include a test inside the code run at configuration time by cmake (same test as CryptoRandom from TSystemTests.cxx)