Home GnuPG
Diffusion GnuPG 2cbb5760d758

gpg: Emit an ERROR status if --quick-set-primary-uid fails

Description

gpg: Emit an ERROR status if --quick-set-primary-uid fails

* g10/keyedit.c (keyedit_quick_set_primary): Issue a status error.

This allows GpgME to detect and report a failure if setting the primary
user ID of a key failed.