File tree 3 files changed +9
-7
lines changed 3 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,8 @@ To fix this, you need to tell ``setup.py`` what SSL backend is used::
56
56
python setup.py --with-[openssl|gnutls|nss|mbedtls] install
57
57
58
58
Note: as of PycURL 7.21.5, setup.py accepts ``--with-openssl `` option to
59
- indicate that libcurl is built against OpenSSL. ``--with-ssl `` is an alias
59
+ indicate that libcurl is built against OpenSSL/LibreSSL/BoringSSL.
60
+ ``--with-ssl `` is an alias
60
61
for ``--with-openssl `` and continues to be accepted for backwards compatibility.
61
62
62
63
You can also ask ``setup.py `` to obtain SSL backend information from installed
@@ -216,8 +217,8 @@ Additional Windows setup.py options:
216
217
import library. The default is ``libcurl.lib `` which is appropriate for
217
218
static linking and is sometimes the correct choice for dynamic linking as
218
219
well. The other possibility for dynamic linking is ``libcurl_imp.lib ``.
219
- - ``--with-openssl ``: use OpenSSL crypto locks when libcurl was built against
220
- OpenSSL .
220
+ - ``--with-openssl ``: use OpenSSL/LibreSSL/BoringSSL crypto locks when libcurl
221
+ was built against these SSL backends .
221
222
- ``--with-ssl ``: legacy alias for ``--with-openssl ``.
222
223
- ``--openssl-lib-name="" ``: specify a different name for OpenSSL import
223
224
library containing CRYPTO_num_locks. For OpenSSL 1.1.0+ this should be set
Original file line number Diff line number Diff line change @@ -21,7 +21,8 @@ For Python programs using PycURL, this means:
21
21
Python code *outside of a libcurl callback for the PycURL object in question *
22
22
is unsafe.
23
23
24
- PycURL handles the necessary SSL locks for OpenSSL/LibreSSL, GnuTLS, NSS and mbedTLS.
24
+ PycURL handles the necessary SSL locks for OpenSSL/LibreSSL/BoringSSL,
25
+ GnuTLS, NSS and mbedTLS.
25
26
26
27
A special situation exists when libcurl uses the standard C library
27
28
name resolver (i.e., not threaded nor c-ares resolver). By default libcurl
Original file line number Diff line number Diff line change @@ -896,8 +896,8 @@ def gen_docstrings_sources():
896
896
PycURL Unix options:
897
897
--curl-config=/path/to/curl-config use specified curl-config binary
898
898
--libcurl-dll=[/path/to/]libcurl.so obtain SSL library from libcurl.so
899
- --openssl-dir=/path/to/openssl/dir path to OpenSSL headers and libraries
900
- --with-openssl libcurl is linked against OpenSSL
899
+ --openssl-dir=/path/to/openssl/dir path to OpenSSL/LibreSSL/BoringSSL headers and libraries
900
+ --with-openssl libcurl is linked against OpenSSL/LibreSSL/BoringSSL
901
901
--with-ssl legacy alias for --with-openssl
902
902
--with-gnutls libcurl is linked against GnuTLS
903
903
--with-nss libcurl is linked against NSS
@@ -910,7 +910,7 @@ def gen_docstrings_sources():
910
910
--use-libcurl-dll link against libcurl DLL, if not given
911
911
link against libcurl statically
912
912
--libcurl-lib-name=libcurl_imp.lib override libcurl import library name
913
- --with-openssl libcurl is linked against OpenSSL
913
+ --with-openssl libcurl is linked against OpenSSL/LibreSSL/BoringSSL
914
914
--with-ssl legacy alias for --with-openssl
915
915
--link-arg=foo.lib also link against specified library
916
916
'''
You can’t perform that action at this time.
0 commit comments