upgrade to openssl 1.1.x.

This commit is contained in:
wuhanck
2019-01-24 18:39:07 +08:00
committed by Toyam Cox
parent 0f33859701
commit b4eebafa6d
3 changed files with 20 additions and 13 deletions

2
configure vendored
View File

@@ -678,7 +678,7 @@ fi
# libssl with pkg-config support is required.
#
printf "Checking for libssl via pkg-config ... "
if $PKGCONFIG_BIN --exists 'libssl < 1.1' && ! $PKGCONFIG_BIN --exists libtls ; then
if $PKGCONFIG_BIN --exists 'libssl < 1.2' && ! $PKGCONFIG_BIN --exists libtls ; then
echo "found OpenSSL version $($PKGCONFIG_BIN --modversion libssl)."
elif $PKGCONFIG_BIN --exists libssl libtls; then
echo "found LibreSSL version $($PKGCONFIG_BIN --modversion libssl)."