Skip to content
Snippets Groups Projects
Commit f89d3a7c authored by Bryan O'Sullivan's avatar Bryan O'Sullivan
Browse files

Re-enable blowfish tests on Darwin.

parent afe61eb9
No related branches found
No related tags found
No related merge requests found
...@@ -93,7 +93,7 @@ namespace tut ...@@ -93,7 +93,7 @@ namespace tut
template<> template<> template<> template<>
void blowfish_object::test<1>() void blowfish_object::test<1>()
{ {
#if !LL_LINUX #if LL_WINDOWS
skip_fail("Blowfish only supported on Linux."); skip_fail("Blowfish only supported on Linux.");
#else #else
LLUUID blank; LLUUID blank;
...@@ -108,13 +108,13 @@ namespace tut ...@@ -108,13 +108,13 @@ namespace tut
dst_len = cipher.requiredEncryptionSpace(8); dst_len = cipher.requiredEncryptionSpace(8);
ensure("encryption space 8", ensure("encryption space 8",
(dst_len == 16) ); (dst_len == 16) );
#endif // !LL_LINUX #endif // LL_WINDOWS
} }
template<> template<> template<> template<>
void blowfish_object::test<2>() void blowfish_object::test<2>()
{ {
#if !LL_LINUX #if LL_WINDOWS
skip_fail("Blowfish only supported on Linux."); skip_fail("Blowfish only supported on Linux.");
#else #else
LLUUID blank; LLUUID blank;
...@@ -130,13 +130,13 @@ namespace tut ...@@ -130,13 +130,13 @@ namespace tut
result.resize(count); result.resize(count);
ensure("encrypt null key", matchFile("blowfish.1.bin", result)); ensure("encrypt null key", matchFile("blowfish.1.bin", result));
#endif // !LL_LINUX #endif // LL_WINDOWS
} }
template<> template<> template<> template<>
void blowfish_object::test<3>() void blowfish_object::test<3>()
{ {
#if !LL_LINUX #if LL_WINDOWS
skip_fail("Blowfish only supported on Linux."); skip_fail("Blowfish only supported on Linux.");
#else #else
// same as base64 test id // same as base64 test id
...@@ -153,6 +153,6 @@ namespace tut ...@@ -153,6 +153,6 @@ namespace tut
result.resize(count); result.resize(count);
ensure("encrypt real key", matchFile("blowfish.2.bin", result)); ensure("encrypt real key", matchFile("blowfish.2.bin", result));
#endif // !LL_LINUX #endif // LL_WINDOWS
} }
} }
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