Re-enable blowfish tests on Darwin.

meow-7.2.2
Bryan O'Sullivan 2008-09-23 21:36:22 +00:00
parent afe61eb994
commit f89d3a7c2d
1 changed files with 6 additions and 6 deletions

View File

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