mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
gpg: Print a warning if no more encryption subkey was left over.
* g10/keyedit.c (no_usable_encr_subkeys_warning): New. (keyedit_menu): Call it after running an expire command. * g10/import.c (import_one_real): Call it in the show_key case. --
This commit is contained in:
parent
a2c199affb
commit
ef2c3d50fa
3 changed files with 37 additions and 0 deletions
|
@ -63,5 +63,6 @@ int keyedit_print_one_sig (ctrl_t ctrl, estream_t fp,
|
|||
kbnode_t node, int *inv_sigs, int *no_key,
|
||||
int *oth_err, int is_selfsig,
|
||||
int print_without_key, int extended);
|
||||
void no_usable_encr_subkeys_warning (kbnode_t keyblock);
|
||||
|
||||
#endif /* GNUPG_G10_KEYEDIT_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue