Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
4569cd5e
Kaydet (Commit)
4569cd5e
authored
Haz 23, 2013
tarafından
Victor Stinner
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
_ssl.c: strip trailing spaces
üst
2f084ecf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
_ssl.c
Modules/_ssl.c
+5
-5
No files found.
Modules/_ssl.c
Dosyayı görüntüle @
4569cd5e
...
@@ -1136,7 +1136,7 @@ static PyObject *PySSL_selected_npn_protocol(PySSLSocket *self) {
...
@@ -1136,7 +1136,7 @@ static PyObject *PySSL_selected_npn_protocol(PySSLSocket *self) {
const
unsigned
char
*
out
;
const
unsigned
char
*
out
;
unsigned
int
outlen
;
unsigned
int
outlen
;
SSL_get0_next_proto_negotiated
(
self
->
ssl
,
SSL_get0_next_proto_negotiated
(
self
->
ssl
,
&
out
,
&
outlen
);
&
out
,
&
outlen
);
if
(
out
==
NULL
)
if
(
out
==
NULL
)
...
@@ -1763,8 +1763,8 @@ set_ciphers(PySSLContext *self, PyObject *args)
...
@@ -1763,8 +1763,8 @@ set_ciphers(PySSLContext *self, PyObject *args)
#ifdef OPENSSL_NPN_NEGOTIATED
#ifdef OPENSSL_NPN_NEGOTIATED
/* this callback gets passed to SSL_CTX_set_next_protos_advertise_cb */
/* this callback gets passed to SSL_CTX_set_next_protos_advertise_cb */
static
int
static
int
_advertiseNPN_cb
(
SSL
*
s
,
_advertiseNPN_cb
(
SSL
*
s
,
const
unsigned
char
**
data
,
unsigned
int
*
len
,
const
unsigned
char
**
data
,
unsigned
int
*
len
,
void
*
args
)
void
*
args
)
{
{
PySSLContext
*
ssl_ctx
=
(
PySSLContext
*
)
args
;
PySSLContext
*
ssl_ctx
=
(
PySSLContext
*
)
args
;
...
@@ -1781,7 +1781,7 @@ _advertiseNPN_cb(SSL *s,
...
@@ -1781,7 +1781,7 @@ _advertiseNPN_cb(SSL *s,
}
}
/* this callback gets passed to SSL_CTX_set_next_proto_select_cb */
/* this callback gets passed to SSL_CTX_set_next_proto_select_cb */
static
int
static
int
_selectNPN_cb
(
SSL
*
s
,
_selectNPN_cb
(
SSL
*
s
,
unsigned
char
**
out
,
unsigned
char
*
outlen
,
unsigned
char
**
out
,
unsigned
char
*
outlen
,
const
unsigned
char
*
server
,
unsigned
int
server_len
,
const
unsigned
char
*
server
,
unsigned
int
server_len
,
void
*
args
)
void
*
args
)
...
@@ -2848,7 +2848,7 @@ PyInit__ssl(void)
...
@@ -2848,7 +2848,7 @@ PyInit__ssl(void)
}
}
if
(
PyModule_AddObject
(
m
,
"lib_codes_to_names"
,
lib_codes_to_names
))
if
(
PyModule_AddObject
(
m
,
"lib_codes_to_names"
,
lib_codes_to_names
))
return
NULL
;
return
NULL
;
/* OpenSSL version */
/* OpenSSL version */
/* SSLeay() gives us the version of the library linked against,
/* SSLeay() gives us the version of the library linked against,
which could be different from the headers version.
which could be different from the headers version.
...
...
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