Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gevent
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gevent
Commits
fd216f9b
Commit
fd216f9b
authored
Dec 09, 2014
by
Matthew Iversen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove SSL3 entirely as default TLS level
parent
5f264dfb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
gevent/_ssl2.py
gevent/_ssl2.py
+1
-1
gevent/_ssl3.py
gevent/_ssl3.py
+1
-1
No files found.
gevent/_ssl2.py
View file @
fd216f9b
...
...
@@ -399,7 +399,7 @@ def wrap_socket(sock, keyfile=None, certfile=None,
ciphers
=
ciphers
)
def
get_server_certificate
(
addr
,
ssl_version
=
PROTOCOL_SSLv3
,
ca_certs
=
None
):
def
get_server_certificate
(
addr
,
ssl_version
=
PROTOCOL_SSLv
2
3
,
ca_certs
=
None
):
"""Retrieve the certificate from the server at the specified address,
and return it as a PEM-encoded string.
If 'ca_certs' is specified, validate the server cert against it.
...
...
gevent/_ssl3.py
View file @
fd216f9b
...
...
@@ -442,7 +442,7 @@ def wrap_socket(sock, keyfile=None, certfile=None,
ciphers
=
ciphers
)
def
get_server_certificate
(
addr
,
ssl_version
=
PROTOCOL_SSLv3
,
ca_certs
=
None
):
def
get_server_certificate
(
addr
,
ssl_version
=
PROTOCOL_SSLv
2
3
,
ca_certs
=
None
):
"""Retrieve the certificate from the server at the specified address,
and return it as a PEM-encoded string.
If 'ca_certs' is specified, validate the server cert against it.
...
...
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