curl-openssl: pass argument to sed single-quoted

... instead of using an escaped double-quote. This is an attempt to make
this work better with ksh that otherwise would insist on a double
escape!

Reported-by: Randall S. Becker
Fixes #7758
Closes #7764
This commit is contained in:
Daniel Stenberg 2021-09-23 13:17:23 +02:00
parent 23ca537aa4
commit 7aaf533518
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -66,7 +66,7 @@ AC_DEFUN([CURL_CHECK_OPENSSL_API_HEADERS], [
;;
*)
if test "$curl_cv_have_def_OPENSSL_VERSION_STR" = "yes"; then
ver=`echo $curl_cv_def_OPENSSL_VERSION_STR | sed s/\"//g`;
ver=`echo $curl_cv_def_OPENSSL_VERSION_STR | sed 's/"//g'`;
tst_vermaj=`echo $ver | cut -d. -f1`
tst_vermin=`echo $ver | cut -d. -f2`
tst_verfix=`echo $ver | cut -d. -f3`