Skip to content

Commit

Permalink
Small fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Massimiliano Pala committed Dec 24, 2021
1 parent eaacbf3 commit faaa0b2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -147,9 +147,9 @@ if [ ! -d "${OSSL_DIR}" -o "$1" = "openssl" ] ; then
[ -e "${OSSL_DIR}/include/oqs" ] || $(cd ${OSSL_DIR}/include && ln -s ../../${LIBOQS_DIR}/build/include/oqs )

# Copies the crypto directories
echo "--> Copying Our Versions of the crypto layer ..."
echo "--> Copying Our Versions of the crypto layer ..."
cp -r ${PATCH_DIR}/crypto/composite ${OSSL_DIR}/crypto/ && \
cp -r ${PATCH_DIR}/crypto/oqs ${OSSL_DIR}/crypto/
cp -r ${PATCH_DIR}/crypto/oqs ${OSSL_DIR}/crypto/

if [ $? -gt 0 ] ; then
echo " [ERROR: Cannot copy the our composite or oqs directories!]"
Expand All @@ -166,7 +166,7 @@ if [ ! -d "${OSSL_DIR}" -o "$1" = "openssl" ] ; then

# Apply the patch
# cd ${OSSL_DIR} && git apply -p1 < ../${PATCH_DIR}/openssl.patch 2>&1
cd ${OSSL_DIR} && patch -p1 < ../${PATCH_DIR}/openssl.patch 2>&1
cd ${OSSL_DIR} && patch -p1 < ../${PATCH_DIR}/openssl.patch 2>&1 && cd ..
if [ $? -gt 0 ] ; then
echo " [ERROR: Cannot apply our patch!]"
echo
Expand Down

0 comments on commit faaa0b2

Please sign in to comment.