From fd1a42e18db88b014e877cd66fab0ac53757d61a Mon Sep 17 00:00:00 2001 From: arvidn Date: Mon, 16 Mar 2020 15:08:46 +0100 Subject: [PATCH] document the SSL and crypto build configuration macros --- docs/building.rst | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/docs/building.rst b/docs/building.rst index a24f1ff96..7ab3c5e2d 100644 --- a/docs/building.rst +++ b/docs/building.rst @@ -297,9 +297,9 @@ Build features: | | This also enables HTTPS-tracker support and | | | support for bittorrent over SSL. | | | * ``libcrypto`` - links against libcrypto | -| | to use the SHA-1 implementation. | +| | to use the SHA-1 implementation. (no SSL support)| | | * ``gcrypt`` - links against libgcrypt | -| | to use the SHA-1 implementation. | +| | to use the SHA-1 implementation. (no SSL support)| +--------------------------+----------------------------------------------------+ | ``openssl-version`` | This can be used on windows to link against the | | | special OpenSSL library names used on windows | @@ -587,6 +587,15 @@ defines you can use to control the build. | ``TORRENT_USE_SYSTEM_ASSERTS`` | Uses the libc assert macro rather then the | | | custom one. | +----------------------------------------+-------------------------------------------------+ +| ``TORRENT_USE_OPENSSL`` | Link against ``libssl`` for SSL support. Must | +| | be combined with ``TORRENT_USE_LIBCRYPTO`` | ++----------------------------------------+-------------------------------------------------+ +| ``TORRENT_USE_LIBCRYPTO`` | Link against ``libcrypto`` for SHA-1 support | +| | and other hashing algorithms. | ++----------------------------------------+-------------------------------------------------+ +| ``TORRENT_USE_LIBGCRYPT`` | Link against ``libgcrypt`` for SHA-1 support | +| | and other hashing algorithms. | ++----------------------------------------+-------------------------------------------------+ .. _`BEP 38`: https://www.bittorrent.org/beps/bep_0038.html