g10: Signal an error when trying to revoke non-existant UID.
authorJustus Winter <justus@g10code.com>
Thu, 2 Mar 2017 10:39:00 +0000 (11:39 +0100)
committerJustus Winter <justus@g10code.com>
Thu, 2 Mar 2017 10:39:00 +0000 (11:39 +0100)
commit62d21a4ab4029b32ea129f1cf3a0e1f22e2fb7b0
tree7247dd865aff0458422bbe63b0601f40627831f5
parent74cb3b230c1f99afc5fd09bccc24186a63b154b0
g10: Signal an error when trying to revoke non-existant UID.

* g10/keyedit.c (keyedit_quick_revuid): Signal an error when trying to
revoke non-existant UID.
* tests/openpgp/quick-key-manipulation.scm: Test that.

GnuPG-bug-id: 2962
Signed-off-by: Justus Winter <justus@g10code.com>
g10/keyedit.c
tests/openpgp/quick-key-manipulation.scm