Avoid use of ulong in internal code.

Authored by gniibe on Jan 21 2020, 4:05 AM.

Description

Avoid use of ulong in internal code.

* configure.ac (HAVE_ULONG_TYPEDEF): Remove.
* mpi/mpi-div.c (_gcry_mpi_fdiv_r_ui): Use unsigned long.
(_gcry_mpi_divisible_ui): Likewise.
* random/rndunix.c (_gcry_rndunix_gather_random): Likewise.
* random/rndw32.c (_gcry_rndw32_gather_random_fast): Likewise.
(ADDINT): Likewise.
* random/rndw32ce.c (_gcry_rndw32ce_gather_random_fast): Likewise.
* src/mpi.h: Follow the change.
* src/types.h (HAVE_ULONG_TYPEDEF): Remove.
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Committed
gniibeJan 21 2020, 4:05 AM
Parents
rC5ebb2f0671c9: gcrypt.texi: fix GCRYCTL_GET_ALGO_NENCR typo
Branches
Unknown
Tags
Unknown