1
0
Fork 0
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:
Werner Koch 2010-03-12 17:24:06 +00:00
parent 75db9afe81
commit cdbe2c2122
6 changed files with 22 additions and 10 deletions

View file

@ -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,