diff options
Diffstat (limited to '')
-rw-r--r-- | tests/gpg/t-edit.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/gpg/t-edit.c b/tests/gpg/t-edit.c index 74f0cde4..fb2f62fe 100644 --- a/tests/gpg/t-edit.c +++ b/tests/gpg/t-edit.c @@ -92,6 +92,17 @@ edit_fnc (void *opaque, gpgme_status_code_t status, const char *args, int fd) case 1: result = "expire"; break; + + /* Work around a bug in GPG 1.2.2, which causes the + primary UID to change when setting the expiration + date. */ + case 2: + result = "1"; + break; + case 3: + result = "primary"; + break; + default: result = "quit"; break; |