mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
Return a posiive status message for a successfull passphrase change.
This commit is contained in:
parent
75db9afe81
commit
cdbe2c2122
6 changed files with 22 additions and 10 deletions
|
@ -83,7 +83,7 @@ do_check( PKT_secret_key *sk, const char *tryagain_text, int mode,
|
|||
&sk->protect.s2k, mode,
|
||||
tryagain_text, canceled );
|
||||
if (!dek && canceled && *canceled)
|
||||
return G10ERR_GENERAL;
|
||||
return GPG_ERR_CANCELED;
|
||||
|
||||
|
||||
err = openpgp_cipher_open (&cipher_hd, sk->protect.algo,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue