[PATCH openEuler-5.10-LTS 3/5] KEYS: Fix error path return value in pgp_generate_fingerprint