From bb2b96d6c34974c9bf4a57a277e6ff182e8d137d Mon Sep 17 00:00:00 2001
From: James Cook <james@lindenlab.com>
Date: Fri, 23 Feb 2007 00:48:50 +0000
Subject: [PATCH] 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.

---
 indra/llmessage/llmail.cpp | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/indra/llmessage/llmail.cpp b/indra/llmessage/llmail.cpp
index 54179760064..1e0eb7fe3a6 100644
--- a/indra/llmessage/llmail.cpp
+++ b/indra/llmessage/llmail.cpp
@@ -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
 }
-- 
GitLab