mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 20:33:31 +01:00
ea5792f333
Instead, have it call a mockable function. We don't want crypto_strongest_rand() to be mockable, since doing so creates a type error when we call it from ed25519-donna, which we do not build in a test mode. Fixes bug 27728; bugfix on 0.3.5.1-alpha
8 lines
403 B
Plaintext
8 lines
403 B
Plaintext
o Minor bugfixes (compilation):
|
|
- Compile the ed25519-donna code with a correct declaration of
|
|
crypto_strongest_rand(). Previously, we build it with one type,
|
|
but link it against another in the unit tests, which caused
|
|
compilation failures with LTO enabled, and which could have
|
|
caused other undefined behavior in the tests. Fixes bug 27728;
|
|
bugfix on 0.3.5.1-alpha.
|