ecc: Make the PCT recoverable in FIPS mode and consistent with RSA.
* cipher/ecc.c (test_keys_fips): Replace calls to log_fatal with return code on error. (ecc_generate): Signal error when PCT fails in FIPS mode.
Cherry-picked master commit of:
23a2d1285e35b2eb91bb422609eb1c965c8a9bf6
- GnuPG-bug-id: T6397
- Signed-off-by: Jakub Jelen <jjelen@redhat.com>