Ported dataserver connectInventory() inventory host name hint code from loadstone-inventory-host-3 which should dramatically reduces read queries against the user table for IM processing. Reviewed by Tess.

master
James Cook 2007-02-23 00:48:50 +00:00
parent b7b4135e55
commit bb2b96d6c3
1 changed files with 4 additions and 0 deletions

View File

@ -308,6 +308,9 @@ std::string LLMail::encryptIMEmailAddress(const LLUUID& from_agent_id,
const U8* secret,
size_t secret_size)
{
#if LL_WINDOWS
return "blowfish-not-supported-on-windows";
#else
size_t data_size = 4 + UUID_BYTES + UUID_BYTES;
// Convert input data into a binary blob
std::vector<U8> data;
@ -351,4 +354,5 @@ std::string LLMail::encryptIMEmailAddress(const LLUUID& from_agent_id,
delete [] encrypted;
return address;
#endif
}