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
David Goulet
Tor
Commits
e6366f78
Commit
e6366f78
authored
Jul 03, 2018
by
Nick Mathewson
🎨
Browse files
Merge branch 'bug26535_032' into maint-0.3.2
parents
3c97b148
3baf3d01
Changes
2
Hide whitespace changes
Inline
Side-by-side
changes/bug26535.032
0 → 100644
View file @
e6366f78
o Minor bugfixes (testing, compatibility):
- When running the hs_ntor_ref.py test, make sure only to pass strings
(rather than "bytes" objects) to the Python subprocess module.
Python 3 on Windows seems to require this. Fixes bug 26535; bugfix on
0.3.1.1-alpha.
src/test/hs_ntor_ref.py
View file @
e6366f78
...
...
@@ -234,8 +234,11 @@ Utilities for communicating with the little-t-tor ntor wrapper to conduct the
integration tests
"""
PROG
=
b
"./src/test/test-hs-ntor-cl"
enhex
=
lambda
s
:
binascii
.
b2a_hex
(
s
)
PROG
=
"./src/test/test-hs-ntor-cl"
if
sys
.
version_info
[
0
]
>=
3
:
enhex
=
lambda
s
:
binascii
.
b2a_hex
(
s
).
decode
(
"ascii"
)
else
:
enhex
=
lambda
s
:
binascii
.
b2a_hex
(
s
)
dehex
=
lambda
s
:
binascii
.
a2b_hex
(
s
.
strip
())
def
tor_client1
(
intro_auth_pubkey_str
,
intro_enc_pubkey
,
...
...
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