diff options
author | David Seikel | 2011-03-03 21:50:24 +1000 |
---|---|---|
committer | David Seikel | 2011-03-03 21:50:24 +1000 |
commit | ec5012c0a76a606c43e5f9fcf4a959251a503f6d (patch) | |
tree | e8a3192b093a042a0b27ea154886453c00f06364 /linden/indra/newview/llstartup.cpp | |
parent | One half of a crude attempt at providing IRC support. (diff) | |
download | meta-impy-ec5012c0a76a606c43e5f9fcf4a959251a503f6d.zip meta-impy-ec5012c0a76a606c43e5f9fcf4a959251a503f6d.tar.gz meta-impy-ec5012c0a76a606c43e5f9fcf4a959251a503f6d.tar.bz2 meta-impy-ec5012c0a76a606c43e5f9fcf4a959251a503f6d.tar.xz |
Privacy issue - Don't send private data across the 'net.
Yes, this makes the meta-impy viewer non compliant with LL's TPVP, we don't care this is a viewer for the meta grid.
We care about privacy. We have our own effective methods of implementing bans.
Diffstat (limited to 'linden/indra/newview/llstartup.cpp')
-rw-r--r-- | linden/indra/newview/llstartup.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/linden/indra/newview/llstartup.cpp b/linden/indra/newview/llstartup.cpp index 78e560e..32aba13 100644 --- a/linden/indra/newview/llstartup.cpp +++ b/linden/indra/newview/llstartup.cpp | |||
@@ -1236,7 +1236,7 @@ bool idle_startup() | |||
1236 | 1236 | ||
1237 | char hashed_mac_string[MD5HEX_STR_SIZE]; /* Flawfinder: ignore */ | 1237 | char hashed_mac_string[MD5HEX_STR_SIZE]; /* Flawfinder: ignore */ |
1238 | LLMD5 hashed_mac; | 1238 | LLMD5 hashed_mac; |
1239 | hashed_mac.update( gMACAddress, MAC_ADDRESS_BYTES ); | 1239 | hashed_mac.update( (const unsigned char*) "012345", MAC_ADDRESS_BYTES ); // Nope, LL ain't getting our MAC, and meta7 does not need it. |
1240 | hashed_mac.finalize(); | 1240 | hashed_mac.finalize(); |
1241 | hashed_mac.hex_digest(hashed_mac_string); | 1241 | hashed_mac.hex_digest(hashed_mac_string); |
1242 | 1242 | ||
@@ -3052,7 +3052,7 @@ std::string LLStartUp::loadPasswordFromDisk() | |||
3052 | fclose(fp); | 3052 | fclose(fp); |
3053 | 3053 | ||
3054 | // Decipher with MAC address | 3054 | // Decipher with MAC address |
3055 | LLXORCipher cipher(gMACAddress, 6); | 3055 | LLXORCipher cipher(gMACAddress, 6); // The one and only legitimate use of the users MAC. |
3056 | cipher.decrypt(buffer, HASHED_LENGTH); | 3056 | cipher.decrypt(buffer, HASHED_LENGTH); |
3057 | 3057 | ||
3058 | buffer[HASHED_LENGTH] = '\0'; | 3058 | buffer[HASHED_LENGTH] = '\0'; |
@@ -3104,7 +3104,7 @@ void LLStartUp::savePasswordToDisk(const std::string& hashed_password) | |||
3104 | 3104 | ||
3105 | LLStringUtil::copy((char*)buffer, hashed_password.c_str(), HASHED_LENGTH+1); | 3105 | LLStringUtil::copy((char*)buffer, hashed_password.c_str(), HASHED_LENGTH+1); |
3106 | 3106 | ||
3107 | LLXORCipher cipher(gMACAddress, 6); | 3107 | LLXORCipher cipher(gMACAddress, 6); // The one and only legitimate use of the users MAC. |
3108 | cipher.encrypt(buffer, HASHED_LENGTH); | 3108 | cipher.encrypt(buffer, HASHED_LENGTH); |
3109 | 3109 | ||
3110 | if (fwrite(buffer, HASHED_LENGTH, 1, fp) != 1) | 3110 | if (fwrite(buffer, HASHED_LENGTH, 1, fp) != 1) |