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
9e2e5329
Kaydet (Commit)
9e2e5329
authored
Ock 27, 2012
tarafından
Antoine Pitrou
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
Issue #13885: CVE-2011-3389: the _ssl module would always disable the CBC IV attack countermeasure.
üst
c9f71481
3f366314
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
NEWS
Misc/NEWS
+3
-0
_ssl.c
Modules/_ssl.c
+4
-2
No files found.
Misc/NEWS
Dosyayı görüntüle @
9e2e5329
...
@@ -461,6 +461,9 @@ Core and Builtins
...
@@ -461,6 +461,9 @@ Core and Builtins
Library
Library
-------
-------
-
Issue
#
13885
:
CVE
-
2011
-
3389
:
the
_ssl
module
would
always
disable
the
CBC
IV
attack
countermeasure
.
-
Issue
#
13847
:
time
.
localtime
()
and
time
.
gmtime
()
now
raise
an
OSError
instead
-
Issue
#
13847
:
time
.
localtime
()
and
time
.
gmtime
()
now
raise
an
OSError
instead
of
ValueError
on
failure
.
time
.
ctime
()
and
time
.
asctime
()
now
raises
an
of
ValueError
on
failure
.
time
.
ctime
()
and
time
.
asctime
()
now
raises
an
OSError
if
localtime
()
failed
.
time
.
clock
()
now
raises
a
RuntimeError
if
the
OSError
if
localtime
()
failed
.
time
.
clock
()
now
raises
a
RuntimeError
if
the
...
...
Modules/_ssl.c
Dosyayı görüntüle @
9e2e5329
...
@@ -1566,7 +1566,8 @@ context_new(PyTypeObject *type, PyObject *args, PyObject *kwds)
...
@@ -1566,7 +1566,8 @@ context_new(PyTypeObject *type, PyObject *args, PyObject *kwds)
self
->
ctx
=
ctx
;
self
->
ctx
=
ctx
;
/* Defaults */
/* Defaults */
SSL_CTX_set_verify
(
self
->
ctx
,
SSL_VERIFY_NONE
,
NULL
);
SSL_CTX_set_verify
(
self
->
ctx
,
SSL_VERIFY_NONE
,
NULL
);
SSL_CTX_set_options
(
self
->
ctx
,
SSL_OP_ALL
);
SSL_CTX_set_options
(
self
->
ctx
,
SSL_OP_ALL
&
~
SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS
);
#define SID_CTX "Python"
#define SID_CTX "Python"
SSL_CTX_set_session_id_context
(
self
->
ctx
,
(
const
unsigned
char
*
)
SID_CTX
,
SSL_CTX_set_session_id_context
(
self
->
ctx
,
(
const
unsigned
char
*
)
SID_CTX
,
...
@@ -2533,7 +2534,8 @@ PyInit__ssl(void)
...
@@ -2533,7 +2534,8 @@ PyInit__ssl(void)
PY_SSL_VERSION_TLS1
);
PY_SSL_VERSION_TLS1
);
/* protocol options */
/* protocol options */
PyModule_AddIntConstant
(
m
,
"OP_ALL"
,
SSL_OP_ALL
);
PyModule_AddIntConstant
(
m
,
"OP_ALL"
,
SSL_OP_ALL
&
~
SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS
);
PyModule_AddIntConstant
(
m
,
"OP_NO_SSLv2"
,
SSL_OP_NO_SSLv2
);
PyModule_AddIntConstant
(
m
,
"OP_NO_SSLv2"
,
SSL_OP_NO_SSLv2
);
PyModule_AddIntConstant
(
m
,
"OP_NO_SSLv3"
,
SSL_OP_NO_SSLv3
);
PyModule_AddIntConstant
(
m
,
"OP_NO_SSLv3"
,
SSL_OP_NO_SSLv3
);
PyModule_AddIntConstant
(
m
,
"OP_NO_TLSv1"
,
SSL_OP_NO_TLSv1
);
PyModule_AddIntConstant
(
m
,
"OP_NO_TLSv1"
,
SSL_OP_NO_TLSv1
);
...
...
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