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
b8a2f51c
Kaydet (Commit)
b8a2f51c
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
27007dcc
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
21 additions
and
57 deletions
+21
-57
_ssl.c
Modules/_ssl.c
+2
-2
_ssl.c.h
Modules/clinic/_ssl.c.h
+3
-3
aclocal.m4
aclocal.m4
+0
-0
configure
configure
+13
-43
configure.ac
configure.ac
+0
-3
pyconfig.h.in
pyconfig.h.in
+3
-6
No files found.
Modules/_ssl.c
Dosyayı görüntüle @
b8a2f51c
...
...
@@ -3938,7 +3938,7 @@ _ssl_RAND_status_impl(PyModuleDef *module)
return
PyLong_FromLong
(
RAND_status
());
}
#if
def HAVE_RAND
_EGD
#if
ndef OPENSSL_NO
_EGD
/*[clinic input]
_ssl.RAND_egd
path: object(converter="PyUnicode_FSConverter")
...
...
@@ -3964,7 +3964,7 @@ _ssl_RAND_egd_impl(PyModuleDef *module, PyObject *path)
}
return
PyLong_FromLong
(
bytes
);
}
#endif
/*
HAVE_RAND
_EGD */
#endif
/*
OPENSSL_NO
_EGD */
...
...
Modules/clinic/_ssl.c.h
Dosyayı görüntüle @
b8a2f51c
...
...
@@ -893,7 +893,7 @@ _ssl_RAND_status(PyModuleDef *module, PyObject *Py_UNUSED(ignored))
return
_ssl_RAND_status_impl
(
module
);
}
#if
defined(HAVE_RAND
_EGD)
#if
!defined(OPENSSL_NO
_EGD)
PyDoc_STRVAR
(
_ssl_RAND_egd__doc__
,
"RAND_egd($module, path, /)
\n
"
...
...
@@ -924,7 +924,7 @@ exit:
return
return_value
;
}
#endif
/*
defined(HAVE_RAND
_EGD) */
#endif
/*
!defined(OPENSSL_NO
_EGD) */
PyDoc_STRVAR
(
_ssl_get_default_verify_paths__doc__
,
"get_default_verify_paths($module, /)
\n
"
...
...
@@ -1102,4 +1102,4 @@ exit:
#ifndef _SSL_ENUM_CRLS_METHODDEF
#define _SSL_ENUM_CRLS_METHODDEF
#endif
/* !defined(_SSL_ENUM_CRLS_METHODDEF) */
/*[clinic end generated code: output=a
14999cb565a69a2
input=a9049054013a1b77]*/
/*[clinic end generated code: output=a
be795f14cb63b6a
input=a9049054013a1b77]*/
aclocal.m4
Dosyayı görüntüle @
b8a2f51c
This diff is collapsed.
Click to expand it.
configure
Dosyayı görüntüle @
b8a2f51c
...
...
@@ -776,6 +776,7 @@ infodir
docdir
oldincludedir
includedir
runstatedir
localstatedir
sharedstatedir
sysconfdir
...
...
@@ -886,6 +887,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}'
...
...
@@ -1138,6 +1140,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
=
*
\
...
...
@@ -1275,7 +1286,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.
...
...
@@ -1428,6 +1439,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]
...
...
@@ -9480,48 +9492,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 @
b8a2f51c
...
...
@@ -2551,9 +2551,6 @@ AC_MSG_RESULT($SHLIBS)
AC_CHECK_LIB(sendfile, sendfile)
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 @
b8a2f51c
...
...
@@ -543,12 +543,12 @@
/* Define to 1 if you have the <linux/netlink.h> header file. */
#undef HAVE_LINUX_NETLINK_H
/* Define to 1 if you have the <linux/tipc.h> header file. */
#undef HAVE_LINUX_TIPC_H
/* Define to 1 if you have the <linux/random.h> header file. */
#undef HAVE_LINUX_RANDOM_H
/* Define to 1 if you have the <linux/tipc.h> header file. */
#undef HAVE_LINUX_TIPC_H
/* Define to 1 if you have the `lockf' function. */
#undef HAVE_LOCKF
...
...
@@ -696,9 +696,6 @@
/* Define to 1 if you have the `pwrite' function. */
#undef HAVE_PWRITE
/* 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