Home GnuPG

mpi: Fix return value of mpi_invm_generic.

Description

mpi: Fix return value of mpi_invm_generic.

* mpi/mpi-inv.c (mpi_invm_generic): Return 0 if inverse does not exist.
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Apr 24 2020, 7:27 AM
Parents
rC559ba9b36c9c: mpi: More use of mpih API for _gcry_mpi_invm.
Branches
Unknown
Tags
Unknown