Fix System's openssl version read for openSUSE 15.6

openSUSE 15.6 doesn't have explicit openssl-3,
same was earlier seen with SLES 15.6 as well.

Therefore System's OpenSSL is read from openssl.

Pick-to: 6.9 6.8
Change-Id: I38d81b5484732e225036530e5326433ab90ef92b
Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
This commit is contained in:
Tero Heikkinen 2025-01-10 19:27:21 +02:00
parent 078bd29e24
commit 882e6e61af
1 changed files with 1 additions and 1 deletions

View File

@ -93,5 +93,5 @@ sudo zypper -nq install perl-JSON
gccVersion="$(gcc --version |grep -Eo '[0-9]+\.[0-9]+(\.[0-9]+)?' |head -n 1)"
echo "GCC = $gccVersion" >> versions.txt
OpenSSLVersion="$(openssl-3 version |cut -b 9-14)"
OpenSSLVersion="$(openssl version |cut -b 9-14)"
echo "System's OpenSSL = $OpenSSLVersion" >> ~/versions.txt