Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
97d23faa
Commit
97d23faa
authored
Jan 28, 2015
by
Benjamin Peterson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ifdef our way to compatibility with old openssl (closes #23335)
parent
f37624e1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Modules/_ssl.c
Modules/_ssl.c
+1
-1
No files found.
Modules/_ssl.c
View file @
97d23faa
...
...
@@ -2148,6 +2148,7 @@ set_ciphers(PySSLContext *self, PyObject *args)
Py_RETURN_NONE
;
}
#ifdef OPENSSL_NPN_NEGOTIATED
static
int
do_protocol_selection
(
int
alpn
,
unsigned
char
**
out
,
unsigned
char
*
outlen
,
const
unsigned
char
*
server_protocols
,
unsigned
int
server_protocols_len
,
...
...
@@ -2172,7 +2173,6 @@ do_protocol_selection(int alpn, unsigned char **out, unsigned char *outlen,
return
SSL_TLSEXT_ERR_OK
;
}
#ifdef OPENSSL_NPN_NEGOTIATED
/* this callback gets passed to SSL_CTX_set_next_protos_advertise_cb */
static
int
_advertiseNPN_cb
(
SSL
*
s
,
...
...
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