Skip to content
Snippets Groups Projects
Commit bb2b96d6 authored by James Cook's avatar James Cook
Browse files

Ported dataserver connectInventory() inventory host name hint code from...

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.
parent b7b4135e
No related branches found
No related tags found
No related merge requests found
...@@ -308,6 +308,9 @@ std::string LLMail::encryptIMEmailAddress(const LLUUID& from_agent_id, ...@@ -308,6 +308,9 @@ std::string LLMail::encryptIMEmailAddress(const LLUUID& from_agent_id,
const U8* secret, const U8* secret,
size_t secret_size) size_t secret_size)
{ {
#if LL_WINDOWS
return "blowfish-not-supported-on-windows";
#else
size_t data_size = 4 + UUID_BYTES + UUID_BYTES; size_t data_size = 4 + UUID_BYTES + UUID_BYTES;
// Convert input data into a binary blob // Convert input data into a binary blob
std::vector<U8> data; std::vector<U8> data;
...@@ -351,4 +354,5 @@ std::string LLMail::encryptIMEmailAddress(const LLUUID& from_agent_id, ...@@ -351,4 +354,5 @@ std::string LLMail::encryptIMEmailAddress(const LLUUID& from_agent_id,
delete [] encrypted; delete [] encrypted;
return address; return address;
#endif
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment