mpi: Improve mpi_invm to detect bad input.
* mpi/mpi-inv.c (mpi_invm): Return 0 for bad input.
Without this patch the function may enter an endless loop. This is a
backport from libgcrypt.
- GnuPG-bug-id: T1713
mpi: Improve mpi_invm to detect bad input. cd53cdbc3774Unpublished Tags None Subscribers None
Description
Details
|