Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Alchemy Viewer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Silent mode is enabled
All outbound communications are blocked.
Learn more
.
Show more breadcrumbs
Alchemy Viewer
Alchemy Viewer
Commits
f89d3a7c
Commit
f89d3a7c
authored
16 years ago
by
Bryan O'Sullivan
Browse files
Options
Downloads
Patches
Plain Diff
Re-enable blowfish tests on Darwin.
parent
afe61eb9
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
indra/test/llblowfish_tut.cpp
+6
-6
6 additions, 6 deletions
indra/test/llblowfish_tut.cpp
with
6 additions
and
6 deletions
indra/test/llblowfish_tut.cpp
+
6
−
6
View file @
f89d3a7c
...
@@ -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_
L
IN
UX
#if LL_
W
IN
DOWS
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_
L
IN
UX
#endif // LL_
W
IN
DOWS
}
}
template
<
>
template
<
>
template
<
>
template
<
>
void
blowfish_object
::
test
<
2
>
()
void
blowfish_object
::
test
<
2
>
()
{
{
#if
!
LL_
L
IN
UX
#if LL_
W
IN
DOWS
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_
L
IN
UX
#endif // LL_
W
IN
DOWS
}
}
template
<
>
template
<
>
template
<
>
template
<
>
void
blowfish_object
::
test
<
3
>
()
void
blowfish_object
::
test
<
3
>
()
{
{
#if
!
LL_
L
IN
UX
#if LL_
W
IN
DOWS
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_
L
IN
UX
#endif // LL_
W
IN
DOWS
}
}
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment