Adapted to new KPasswordEdit::password() signature.

This relates to bug 2961.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
master
Slávek Banko 6 years ago
parent c402f3821f
commit 5b2672774a
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -365,7 +365,7 @@ TQMap<TQString, TQString> VPNCAuthentication::getPasswords()
char decrypted_result[2048]; char decrypted_result[2048];
int i; int i;
decryptcommand.append(_vpncAuth->editGroupPassword->password()); decryptcommand.append(_vpncAuth->editGroupPassword->password().local8Bit());
printf("Group password decrypt command: %s\n", decryptcommand.c_str()); printf("Group password decrypt command: %s\n", decryptcommand.c_str());
if ((pipe_decrypt = popen(decryptcommand.c_str(), "r")) == NULL) if ((pipe_decrypt = popen(decryptcommand.c_str(), "r")) == NULL)
{ {

Loading…
Cancel
Save