Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Link Mauve
python-nbxmpp
Commits
02343d21
Commit
02343d21
authored
Apr 02, 2016
by
Emmanuel Gil Peyrot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix deprecation warning, cipher_list must be bytes and not str.
parent
e9d2f233
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
nbxmpp/tls_nb.py
nbxmpp/tls_nb.py
+2
-2
No files found.
nbxmpp/tls_nb.py
View file @
02343d21
...
...
@@ -267,9 +267,9 @@ class NonBlockingTLS(PlugIn):
self
.
cacerts
=
cacerts
self
.
mycerts
=
mycerts
if
cipher_list
is
None
:
self
.
cipher_list
=
'HIGH:!aNULL:RC4-SHA'
self
.
cipher_list
=
b
'HIGH:!aNULL:RC4-SHA'
else
:
self
.
cipher_list
=
cipher_list
self
.
cipher_list
=
cipher_list
.
encode
(
'ascii'
)
if
tls_version
is
None
:
self
.
tls_version
=
'1.0'
else
:
...
...
Write
Preview
Markdown
is supported
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