You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2021/11/08 23:12:00 UTC
[trafficserver] branch 9.2.x updated: When checking for
SSL_set1_verify_cert_store,
save/restore LIBS before manipulating LIBS (#8492)
This is an automated email from the ASF dual-hosted git repository.
zwoop pushed a commit to branch 9.2.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/9.2.x by this push:
new 60a1ed0 When checking for SSL_set1_verify_cert_store, save/restore LIBS before manipulating LIBS (#8492)
60a1ed0 is described below
commit 60a1ed09a444d9f56a378cccf8103e364ba60d34
Author: Randall Meyer <rr...@apache.org>
AuthorDate: Tue Nov 2 16:13:37 2021 -0700
When checking for SSL_set1_verify_cert_store, save/restore LIBS before manipulating LIBS (#8492)
Closes #8490
(cherry picked from commit 9e08d5f39b40121cba6abcb5540c522e65149fdb)
---
build/crypto.m4 | 3 +++
1 file changed, 3 insertions(+)
diff --git a/build/crypto.m4 b/build/crypto.m4
index f804c94..bdac347 100644
--- a/build/crypto.m4
+++ b/build/crypto.m4
@@ -382,6 +382,7 @@ AC_DEFUN([TS_CHECK_SESSION_TICKET], [
dnl SSL_set1_verify_cert_store macro is for OpenSSL 1.1.1
dnl SSL_set1_verify_cert_store function is for BoringSSL
AC_DEFUN([TS_CHECK_VERIFY_CERT_STORE], [
+ _saved_LIBS=$LIBS
TS_ADDTO(LIBS, [$OPENSSL_LIBS])
AC_CHECK_HEADERS(openssl/ssl.h)
@@ -413,6 +414,8 @@ AC_DEFUN([TS_CHECK_VERIFY_CERT_STORE], [
[]
)
+ LIBS=$_saved_LIBS
+
AC_MSG_CHECKING([for setting verify cert store APIs])
AC_MSG_RESULT([$verify_cert_store_check])