Home GnuPG

random/jitterentropy: fix USE_JENT == JENT_USES_GETTIME code path

Description

random/jitterentropy: fix USE_JENT == JENT_USES_GETTIME code path

* random/jitterentropy-base-user.h (jent_get_nstime): Use 'tv' variable
instead of non-existing 'time'.

Backported-from-master: 4ed9b949485448816a70d86260d572f08ae34621

Note that on any decent x86 hardware that code path is not used.

  • GnuPG-bug-id: T4966
  • Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>

Details

Provenance
jukiviliAuthored on Jul 23 2020, 9:36 PM
wernerCommitted on Aug 4 2020, 9:59 AM
Parents
rCd9103048d11b: mpi: Support opaque MPI with gcry_mpi_print.
Branches
Unknown
Tags
Unknown
Tasks
T4966: Jitter entropy RNG disable on non-x86?