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
42e10295
Kaydet (Commit)
42e10295
authored
Tem 07, 2016
tarafından
Benjamin Peterson
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
assume egd unless OPENSSL_NO_EGD is defined—remove configure check (closes #24557)
üst
64c82753
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
17 additions
and
52 deletions
+17
-52
_ssl.c
Modules/_ssl.c
+3
-3
aclocal.m4
aclocal.m4
+0
-0
configure
configure
+14
-43
configure.ac
configure.ac
+0
-3
pyconfig.h.in
pyconfig.h.in
+0
-3
No files found.
Modules/_ssl.c
Dosyayı görüntüle @
42e10295
...
...
@@ -3386,7 +3386,7 @@ using the ssl() function.");
#endif
/* HAVE_OPENSSL_RAND */
#if
def HAVE_RAND
_EGD
#if
ndef OPENSSL_NO
_EGD
static
PyObject
*
PySSL_RAND_egd
(
PyObject
*
self
,
PyObject
*
arg
)
...
...
@@ -3414,7 +3414,7 @@ Queries the entropy gather daemon (EGD) on the socket named by 'path'.\n\
Returns number of bytes read. Raises SSLError if connection to EGD
\n
\
fails or if it does not provide enough data to seed PRNG."
);
#endif
/*
HAVE_RAND
_EGD */
#endif
/*
!OPENSSL_NO
_EGD */
PyDoc_STRVAR
(
PySSL_get_default_verify_paths_doc
,
...
...
@@ -3814,7 +3814,7 @@ static PyMethodDef PySSL_methods[] = {
{
"RAND_status"
,
(
PyCFunction
)
PySSL_RAND_status
,
METH_NOARGS
,
PySSL_RAND_status_doc
},
#endif
#if
def HAVE_RAND
_EGD
#if
ndef OPENSSL_NO
_EGD
{
"RAND_egd"
,
PySSL_RAND_egd
,
METH_VARARGS
,
PySSL_RAND_egd_doc
},
#endif
...
...
aclocal.m4
Dosyayı görüntüle @
42e10295
This diff is collapsed.
Click to expand it.
configure
Dosyayı görüntüle @
42e10295
...
...
@@ -764,6 +764,7 @@ infodir
docdir
oldincludedir
includedir
runstatedir
localstatedir
sharedstatedir
sysconfdir
...
...
@@ -874,6 +875,7 @@ datadir='${datarootdir}'
sysconfdir
=
'${prefix}/etc'
sharedstatedir
=
'${prefix}/com'
localstatedir
=
'${prefix}/var'
runstatedir
=
'${localstatedir}/run'
includedir
=
'${prefix}/include'
oldincludedir
=
'/usr/include'
docdir
=
'${datarootdir}/doc/${PACKAGE_TARNAME}'
...
...
@@ -1126,6 +1128,15 @@ do
|
-silent
|
--silent
|
--silen
|
--sile
|
--sil
)
silent
=
yes
;;
-runstatedir
|
--runstatedir
|
--runstatedi
|
--runstated
\
|
--runstate
|
--runstat
|
--runsta
|
--runst
|
--runs
\
|
--run
|
--ru
|
--r
)
ac_prev
=
runstatedir
;;
-runstatedir
=
*
|
--runstatedir
=
*
|
--runstatedi
=
*
|
--runstated
=
*
\
|
--runstate
=
*
|
--runstat
=
*
|
--runsta
=
*
|
--runst
=
*
|
--runs
=
*
\
|
--run
=
*
|
--ru
=
*
|
--r
=
*
)
runstatedir
=
$ac_optarg
;;
-sbindir
|
--sbindir
|
--sbindi
|
--sbind
|
--sbin
|
--sbi
|
--sb
)
ac_prev
=
sbindir
;;
-sbindir
=
*
|
--sbindir
=
*
|
--sbindi
=
*
|
--sbind
=
*
|
--sbin
=
*
\
...
...
@@ -1263,7 +1274,7 @@ fi
for
ac_var
in
exec_prefix prefix bindir sbindir libexecdir datarootdir
\
datadir sysconfdir sharedstatedir localstatedir includedir
\
oldincludedir docdir infodir htmldir dvidir pdfdir psdir
\
libdir localedir mandir
libdir localedir mandir
runstatedir
do
eval
ac_val
=
\$
$ac_var
# Remove trailing slashes.
...
...
@@ -1416,6 +1427,7 @@ Fine tuning of the installation directories:
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
--runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
--libdir=DIR object code libraries [EPREFIX/lib]
--includedir=DIR C header files [PREFIX/include]
--oldincludedir=DIR C header files for non-gcc [/usr/include]
...
...
@@ -2787,6 +2799,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
ac_config_headers
=
"
$ac_config_headers
pyconfig.h"
ac_aux_dir
=
for
ac_dir
in
"
$srcdir
"
"
$srcdir
/.."
"
$srcdir
/../.."
;
do
if
test
-f
"
$ac_dir
/install-sh"
;
then
...
...
@@ -8733,48 +8746,6 @@ _ACEOF
fi
# Dynamic linking for HP-UX
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking for RAND_egd in -lcrypto"
>
&5
$as_echo_n
"checking for RAND_egd in -lcrypto... "
>
&6
;
}
if
${
ac_cv_lib_crypto_RAND_egd
+
:
}
false
;
then
:
$as_echo_n
"(cached) "
>
&6
else
ac_check_lib_save_LIBS
=
$LIBS
LIBS
=
"-lcrypto
$LIBS
"
cat
confdefs.h -
<<
_ACEOF
>conftest.
$ac_ext
/* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
builtin and then its argument prototype would still apply. */
#ifdef __cplusplus
extern "C"
#endif
char RAND_egd ();
int
main ()
{
return RAND_egd ();
;
return 0;
}
_ACEOF
if
ac_fn_c_try_link
"
$LINENO
"
;
then
:
ac_cv_lib_crypto_RAND_egd
=
yes
else
ac_cv_lib_crypto_RAND_egd
=
no
fi
rm
-f
core conftest.err conftest.
$ac_objext
\
conftest
$ac_exeext
conftest.
$ac_ext
LIBS
=
$ac_check_lib_save_LIBS
fi
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result:
$ac_cv_lib_crypto_RAND_egd
"
>
&5
$as_echo
"
$ac_cv_lib_crypto_RAND_egd
"
>
&6
;
}
if
test
"x
$ac_cv_lib_crypto_RAND_egd
"
=
xyes
;
then
:
$as_echo
"#define HAVE_RAND_EGD 1"
>>
confdefs.h
fi
# only check for sem_init if thread support is requested
if
test
"
$with_threads
"
=
"yes"
-o
-z
"
$with_threads
"
;
then
...
...
configure.ac
Dosyayı görüntüle @
42e10295
...
...
@@ -2333,9 +2333,6 @@ AC_MSG_RESULT($SHLIBS)
# checks for libraries
AC_CHECK_LIB(dl, dlopen) # Dynamic linking for SunOS/Solaris and SYSV
AC_CHECK_LIB(dld, shl_load) # Dynamic linking for HP-UX
AC_CHECK_LIB(crypto, RAND_egd,
AC_DEFINE(HAVE_RAND_EGD, 1,
[Define if the libcrypto has RAND_egd]))
# only check for sem_init if thread support is requested
if test "$with_threads" = "yes" -o -z "$with_threads"; then
...
...
pyconfig.h.in
Dosyayı görüntüle @
42e10295
...
...
@@ -550,9 +550,6 @@
/* Define to 1 if you have the `putenv' function. */
#undef HAVE_PUTENV
/* Define if the libcrypto has RAND_egd */
#undef HAVE_RAND_EGD
/* Define to 1 if you have the `readlink' function. */
#undef HAVE_READLINK
...
...
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