diff options
author | aunsane <aunsane@gmail.com> | 2017-04-01 18:38:46 +0300 |
---|---|---|
committer | aunsane <aunsane@gmail.com> | 2017-04-01 18:39:16 +0300 |
commit | 177bd7053cb265b1634e1a1a2a635ca4a8b72395 (patch) | |
tree | 958289fd7c2430cb77152d291078c68dbb20b5e0 /protocols/Tox/src/tox_profile.cpp | |
parent | c04b64dd007293f45f6059c02073c45fc9211409 (diff) |
Tox: fixed #784
disabled profile encription to prevent corruption
Diffstat (limited to 'protocols/Tox/src/tox_profile.cpp')
-rw-r--r-- | protocols/Tox/src/tox_profile.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Tox/src/tox_profile.cpp b/protocols/Tox/src/tox_profile.cpp index aec34c6381..49ff8a0a64 100644 --- a/protocols/Tox/src/tox_profile.cpp +++ b/protocols/Tox/src/tox_profile.cpp @@ -108,7 +108,7 @@ void CToxProto::SaveToxProfile(Tox *tox) uint8_t *data = (uint8_t*)mir_calloc(size + TOX_PASS_ENCRYPTION_EXTRA_LENGTH);
tox_get_savedata(tox, data);
- pass_ptrA password(mir_utf8encodeW(pass_ptrT(getWStringA("Password"))));
+ /*pass_ptrA password(mir_utf8encodeW(pass_ptrT(getWStringA("Password"))));
if (password && mir_strlen(password))
{
TOX_ERR_ENCRYPTION coreEncryptError;
@@ -119,7 +119,7 @@ void CToxProto::SaveToxProfile(Tox *tox) return;
}
size += TOX_PASS_ENCRYPTION_EXTRA_LENGTH;
- }
+ }*/
ptrW profilePath(GetToxProfilePath());
FILE *profile = _wfopen(profilePath, L"wb");
|