From 84ea1776aef39ca2757bc93095f2ad066be0bb91 Mon Sep 17 00:00:00 2001 From: selsta Date: Sun, 14 Jan 2024 17:08:55 +0100 Subject: [PATCH] Dockerfile: remove no-asm for constant time AES --- Dockerfile.android | 2 +- Dockerfile.linux | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile.android b/Dockerfile.android index 88f38c5b3f..8bd064b306 100644 --- a/Dockerfile.android +++ b/Dockerfile.android @@ -125,7 +125,7 @@ RUN wget -q https://www.openssl.org/source/openssl-${OPENSSL_VERSION}.tar.gz \ && rm openssl-${OPENSSL_VERSION}.tar.gz \ && cd openssl-${OPENSSL_VERSION} \ && ANDROID_NDK_HOME=${ANDROID_NDK_ROOT} ./Configure CC=${ANDROID_CLANG} CXX=${ANDROID_CLANGPP} \ - android-arm64 no-asm no-shared --static \ + android-arm64 no-shared --static \ --with-zlib-include=${PREFIX}/include --with-zlib-lib=${PREFIX}/lib \ --prefix=${PREFIX} --openssldir=${PREFIX} \ && sed -i 's/CNF_EX_LIBS=-ldl -pthread//g;s/BIN_CFLAGS=-pie $(CNF_CFLAGS) $(CFLAGS)//g' Makefile \ diff --git a/Dockerfile.linux b/Dockerfile.linux index 6f0755edb9..15cde3a93d 100644 --- a/Dockerfile.linux +++ b/Dockerfile.linux @@ -170,7 +170,7 @@ RUN wget https://www.openssl.org/source/openssl-1.1.1u.tar.gz && \ tar -xzf openssl-1.1.1u.tar.gz && \ rm openssl-1.1.1u.tar.gz && \ cd openssl-1.1.1u && \ - ./config no-asm no-shared no-zlib-dynamic --prefix=/usr --openssldir=/usr && \ + ./config no-shared no-zlib-dynamic --prefix=/usr --openssldir=/usr && \ make -j$THREADS && \ make -j$THREADS install && \ rm -rf $(pwd)