aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/test/llblowfish_tut.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/test/llblowfish_tut.cpp')
-rw-r--r--linden/indra/test/llblowfish_tut.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/linden/indra/test/llblowfish_tut.cpp b/linden/indra/test/llblowfish_tut.cpp
index ac40896..98deff5 100644
--- a/linden/indra/test/llblowfish_tut.cpp
+++ b/linden/indra/test/llblowfish_tut.cpp
@@ -93,7 +93,7 @@ namespace tut
93 template<> template<> 93 template<> template<>
94 void blowfish_object::test<1>() 94 void blowfish_object::test<1>()
95 { 95 {
96#if !LL_LINUX 96#if LL_WINDOWS
97 skip_fail("Blowfish only supported on Linux."); 97 skip_fail("Blowfish only supported on Linux.");
98#else 98#else
99 LLUUID blank; 99 LLUUID blank;
@@ -108,13 +108,13 @@ namespace tut
108 dst_len = cipher.requiredEncryptionSpace(8); 108 dst_len = cipher.requiredEncryptionSpace(8);
109 ensure("encryption space 8", 109 ensure("encryption space 8",
110 (dst_len == 16) ); 110 (dst_len == 16) );
111#endif // !LL_LINUX 111#endif // LL_WINDOWS
112 } 112 }
113 113
114 template<> template<> 114 template<> template<>
115 void blowfish_object::test<2>() 115 void blowfish_object::test<2>()
116 { 116 {
117#if !LL_LINUX 117#if LL_WINDOWS
118 skip_fail("Blowfish only supported on Linux."); 118 skip_fail("Blowfish only supported on Linux.");
119#else 119#else
120 LLUUID blank; 120 LLUUID blank;
@@ -130,13 +130,13 @@ namespace tut
130 result.resize(count); 130 result.resize(count);
131 131
132 ensure("encrypt null key", matchFile("blowfish.1.bin", result)); 132 ensure("encrypt null key", matchFile("blowfish.1.bin", result));
133#endif // !LL_LINUX 133#endif // LL_WINDOWS
134 } 134 }
135 135
136 template<> template<> 136 template<> template<>
137 void blowfish_object::test<3>() 137 void blowfish_object::test<3>()
138 { 138 {
139#if !LL_LINUX 139#if LL_WINDOWS
140 skip_fail("Blowfish only supported on Linux."); 140 skip_fail("Blowfish only supported on Linux.");
141#else 141#else
142 // same as base64 test id 142 // same as base64 test id
@@ -153,6 +153,6 @@ namespace tut
153 result.resize(count); 153 result.resize(count);
154 154
155 ensure("encrypt real key", matchFile("blowfish.2.bin", result)); 155 ensure("encrypt real key", matchFile("blowfish.2.bin", result));
156#endif // !LL_LINUX 156#endif // LL_WINDOWS
157 } 157 }
158} 158}