From 01d423d8ca4d64a919890cdbfc7238a1822d54d8 Mon Sep 17 00:00:00 2001 From: Michael Baentsch <57787676+baentsch@users.noreply.github.com> Date: Tue, 4 Jun 2024 14:10:46 +0200 Subject: [PATCH 1/2] switch from git to https protocol for CCI Signed-off-by: Michael Baentsch <57787676+baentsch@users.noreply.github.com> --- .circleci/config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 63b84570..e5a9838b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -52,7 +52,7 @@ jobs: - run: name: Clone and build OpenSSL(3) command: | - git clone --branch master git://git.openssl.org/openssl.git openssl && + git clone --branch master https://github.com/openssl/openssl.git openssl && cd openssl && ./config --prefix=$(echo $(pwd)/../.local) && make -j 18 && make install_sw && cd .. - run: name: Build OQS-OpenSSL provider (<< parameters.CMAKE_ARGS >> with QSC encoding support) @@ -171,7 +171,7 @@ jobs: - run: name: Clone and build OpenSSL(3) master command: | - git clone --branch master git://git.openssl.org/openssl.git openssl && + git clone --branch master https://github.com/openssl/openssl.git openssl && cd openssl && ./config --prefix=$(echo $(pwd)/../.local) && make -j 18 && make install_sw && cd .. - run: name: Build OQS-OpenSSL provider From 06af117176eca232c1c372f2edabac59b717ffa3 Mon Sep 17 00:00:00 2001 From: Michael Baentsch <57787676+baentsch@users.noreply.github.com> Date: Tue, 4 Jun 2024 14:28:03 +0200 Subject: [PATCH 2/2] switch to https also in fullbuild.sh --- scripts/fullbuild.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/fullbuild.sh b/scripts/fullbuild.sh index 92acae0c..4640b575 100755 --- a/scripts/fullbuild.sh +++ b/scripts/fullbuild.sh @@ -51,7 +51,7 @@ if [ -z "$OPENSSL_INSTALL" ]; then if [ ! -d "openssl" ]; then echo "openssl not specified and doesn't reside where expected: Cloning and building..." # for full debug build add: enable-trace enable-fips --debug - export OSSL_PREFIX=`pwd`/.local && git clone --depth 1 --branch $OPENSSL_BRANCH git://git.openssl.org/openssl.git && cd openssl && LDFLAGS="-Wl,-rpath -Wl,${OSSL_PREFIX}/lib64" ./config --prefix=$OSSL_PREFIX && make $MAKE_PARAMS && make install_sw install_ssldirs && cd .. + export OSSL_PREFIX=`pwd`/.local && git clone --depth 1 --branch $OPENSSL_BRANCH https://github.com/openssl/openssl.git && cd openssl && LDFLAGS="-Wl,-rpath -Wl,${OSSL_PREFIX}/lib64" ./config --prefix=$OSSL_PREFIX && make $MAKE_PARAMS && make install_sw install_ssldirs && cd .. if [ $? -ne 0 ]; then echo "openssl build failed. Exiting." exit -1