Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ZerXes
Tor
Commits
3b5dc726
Commit
3b5dc726
authored
Jun 14, 2003
by
Nick Mathewson
🐻
Browse files
Dont test handshakes in an infinite loop
svn:r324
parent
debfe65f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/or/test.c
View file @
3b5dc726
...
...
@@ -596,8 +596,9 @@ main(int c, char**v) {
#endif
log
(
LOG_ERR
,
NULL
);
/* make logging quieter */
crypto_seed_rng
();
setup_directory
();
#ifndef DEBUG_ONION_SKINS
puts
(
"========================== Buffers ========================="
);
test_buffers
();
puts
(
"
\n
========================== Crypto =========================="
);
...
...
@@ -606,12 +607,7 @@ main(int c, char**v) {
puts
(
"
\n
========================= Util ============================"
);
test_util
();
puts
(
"
\n
========================= Onion Skins ====================="
);
#endif
crypto_seed_rng
();
while
(
1
)
{
test_onion_handshake
();
fflush
(
NULL
);
}
test_onion_handshake
();
puts
(
"
\n
========================= Directory Formats ==============="
);
test_dir_format
();
puts
(
""
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment