Skip to content

Commit b9f2164

Browse files
committed
Disable some OpenSSL features in the Linux build
In the Linux Docker build, disable OpenSSL configure options that sound like they could potentially be related to opening shared libraries at runtime. Investigating #155, we found that it tries to look for and open some shared libraries in the configured install path. Also set this path to "/dev/null" since it still tries to open a configuration file from there. Fixes #155 (error in aria2 when using OpenSSL's random function).
1 parent ea0f8cc commit b9f2164

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ RUN curl -LO https://github.com/openssl/openssl/releases/download/openssl-3.6.0/
3737
curl -L https://github.com/openssl/openssl/releases/download/openssl-3.6.0/openssl-3.6.0.tar.gz.sha256 | sha256sum --check
3838
RUN tar -xzf openssl-3.6.0.tar.gz
3939
WORKDIR /build-ssl/openssl-3.6.0
40-
RUN ./config no-shared --prefix=/openssl
40+
RUN ./config --prefix=/openssl --openssldir=/dev/null no-shared no-apps no-autoload-config no-capieng no-dso no-dynamic-engine no-engine no-loadereng no-module
4141
RUN make -j`nproc` && make install_sw && rm -rf /build-ssl
4242

4343
############

0 commit comments

Comments
 (0)