[PATCH openEuler-5.10 04/29] KEYS: Fix mistaken sizeof call in pgp_key_generate_id