changed: export plugin:

password is stored as a string (in database)


git-svn-id: svn://ttmath.org/publicrep/winix/trunk@814 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
2012-03-01 15:39:13 +00:00
parent 3e3546a2fd
commit e61f0db57e
3 changed files with 10 additions and 10 deletions

View File

@@ -85,10 +85,11 @@ bool ExportInfo::DecodePass(Export & exp)
{
if( exp.ftp_pass_type == 0 )
{
PT::UTF8ToWide(exp.ftp_pass_bin, exp.ftp_pass);
}
else
{
/*
if( system->crypt.RSA(false, rsa_key, exp.ftp_pass_bin, pass_decrypted) )
{
PT::UTF8ToWide(pass_decrypted, exp.ftp_pass);
@@ -99,6 +100,7 @@ bool ExportInfo::DecodePass(Export & exp)
log << log1 << "Export: I cannot decrypt a password (RSA failed)" << logend;
return false;
}
*/
}
return true;