diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2018-11-29 19:52:17 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2018-11-29 21:48:23 +0100 |
commit | 2e5de46030e2354b851ba731f6c76ac30a2e8a3b (patch) | |
tree | e48732e76e7d0ceb4e01caab16c1aa2a119c1ad0 /libkpgp/kpgp.h | |
parent | 2f0c49e8523a4d26b6bb9c7c8a05d68cb023a568 (diff) | |
download | tdepim-2e5de46030e2354b851ba731f6c76ac30a2e8a3b.tar.gz tdepim-2e5de46030e2354b851ba731f6c76ac30a2e8a3b.zip |
Adapted to new KPasswordEdit::password() signature.
This relates to bug 2961.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'libkpgp/kpgp.h')
-rw-r--r-- | libkpgp/kpgp.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libkpgp/kpgp.h b/libkpgp/kpgp.h index 6628f41e5..1ea49664e 100644 --- a/libkpgp/kpgp.h +++ b/libkpgp/kpgp.h @@ -332,7 +332,7 @@ private: KeyIDList getEncryptionKeys( const TQString& person ); /** Set pass phrase */ - bool setPassPhrase(const char* pass); + bool setPassPhrase(const TQString& pass); /** test if the PGP executable is found and if there is a passphrase set or given. Returns: @@ -431,8 +431,7 @@ private: bool mSecretKeysCached : 1; // did we already read the secret keys? bool storePass : 1; - char * passphrase; - size_t passphrase_buffer_len; + TQString passphrase; TQString errMsg; |