Land #1047, use file version number in test scripts

This commit is contained in:
Brent Cook
2024-04-08 20:26:36 -05:00
2 changed files with 7 additions and 5 deletions

View File

@@ -149,7 +149,7 @@ else
$CP $libcrypto_src/opensslv.h include/openssl
fi
awk '/LIBRESSL_VERSION_TEXT/ {print $4}' < include/openssl/opensslv.h | cut -d\" -f1 > VERSION
awk '/LIBRESSL_VERSION_TEXT/ {print $4}' < include/openssl/opensslv.h | cut -d\" -f1 | head -n1 > VERSION
echo "LibreSSL version `cat VERSION`"
# copy libcrypto source