Skip to content

Commit 512ef97

Browse files
committed
build: try to get latest openssl version
1 parent d1dd67d commit 512ef97

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

nginx-build-msys2.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ ZLIB="$(curl -s 'https://zlib.net/' | grep -ioP 'zlib-(\d+\.)+\d+' | sort -ruV |
3232
ZLIB="${ZLIB:-zlib-1.2.11}"
3333
PCRE="$(curl -s 'https://ftp.pcre.org/pub/pcre/' | grep -ioP 'pcre-(\d+\.)+\d+' | sort -ruV | head -1)"
3434
PCRE="${PCRE:-pcre-8.42}"
35-
OPENSSL="openssl-1.1.1"
35+
OPENSSL="$(curl -s 'https://www.openssl.org/source/' | grep -ioP 'openssl-(\d+\.)+[a-z\d]+' | sort -ruV | head -1)"
36+
OPENSSL="${OPENSSL:-openssl-1.1.1a}"
3637

3738
# clone and patch nginx
3839
if [[ -d nginx ]]; then

0 commit comments

Comments
 (0)