mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
agent: Better diagnostic for a failed key unprotection.
* agent/findkey.c (unprotect): Print a diagnostic if unprotection failed. -- GnuPG-bug-id: 6375
This commit is contained in:
parent
19f2f00bfd
commit
19871fa08c
@ -850,6 +850,8 @@ unprotect (ctrl_t ctrl, const char *cache_nonce, const char *desc_text,
|
|||||||
*keybuf = result;
|
*keybuf = result;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
else if (opt.verbose)
|
||||||
|
log_info (_("Unprotecting key failed: %s\n"), gpg_strerror (rc));
|
||||||
xfree (pw);
|
xfree (pw);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user