mirror of
https://github.com/python/cpython.git
synced 2025-10-02 21:25:24 +00:00
Merged revisions 85432 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85432 | benjamin.peterson | 2010-10-13 17:06:39 -0500 (Wed, 13 Oct 2010) | 1 line constify to appease compiler warnings ........
This commit is contained in:
parent
4de6b06134
commit
8e73403284
1 changed files with 2 additions and 2 deletions
|
@ -680,7 +680,7 @@ _get_peer_alt_names (X509 *certificate) {
|
||||||
X509_EXTENSION *ext = NULL;
|
X509_EXTENSION *ext = NULL;
|
||||||
GENERAL_NAMES *names = NULL;
|
GENERAL_NAMES *names = NULL;
|
||||||
GENERAL_NAME *name;
|
GENERAL_NAME *name;
|
||||||
X509V3_EXT_METHOD *method;
|
const X509V3_EXT_METHOD *method;
|
||||||
BIO *biobuf = NULL;
|
BIO *biobuf = NULL;
|
||||||
char buf[2048];
|
char buf[2048];
|
||||||
char *vptr;
|
char *vptr;
|
||||||
|
@ -1041,7 +1041,7 @@ return the certificate even if it wasn't validated.");
|
||||||
static PyObject *PySSL_cipher (PySSLObject *self) {
|
static PyObject *PySSL_cipher (PySSLObject *self) {
|
||||||
|
|
||||||
PyObject *retval, *v;
|
PyObject *retval, *v;
|
||||||
SSL_CIPHER *current;
|
const SSL_CIPHER *current;
|
||||||
char *cipher_name;
|
char *cipher_name;
|
||||||
char *cipher_protocol;
|
char *cipher_protocol;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue