From: "plaisthos (Code Review)" Date: Mon, 14 Jul 2025 12:25:51 +0000 References: Reply-To: arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net, frank@...2641... Message-ID: <6c123e85dd1556fdbefde0851bb97534536dc71a-HTML@...2715...> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="HERsdyqJRFQ="; charset=UTF-8 Subject: [Openvpn-devel] [S] Change in openvpn[master]: Do not check for pkcs11-helper when pkcs11 is not enabled List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: flichtenheld Cc: openvpn-devel --HERsdyqJRFQ= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: flichtenheld. Hello flichtenheld, I'd like you to do a code review. Please visit http://gerrit.openvpn.net/c/openvpn/+/1085?usp=3Demail to review the following change. Change subject: Do not check for pkcs11-helper when pkcs11 is not enabled ...................................................................... Do not check for pkcs11-helper when pkcs11 is not enabled On my system with mac and homebrew this pulls in a version from homebrew that adds OpenSSL paths/flags from homebrew as well. Those flags then end up in various other locations. Change-Id: I152577b7d9b3b3a0d298971f47ba412d3f43d50d Signed-off-by: Arne Schwabe --- M configure.ac 1 file changed, 8 insertions(+), 6 deletions(-) git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/85/1085/1 diff --git a/configure.ac b/configure.ac index 51c20ef..c1ee69c 100644 --- a/configure.ac +++ b/configure.ac @@ -798,12 +798,14 @@ ;; esac -PKG_CHECK_MODULES( - [PKCS11_HELPER], - [libpkcs11-helper-1 >=3D 1.11], - [have_pkcs11_helper=3D"yes"], - [] -) +if test "${enable_pkcs11}" =3D "yes"; then + PKG_CHECK_MODULES( + [PKCS11_HELPER], + [libpkcs11-helper-1 >=3D 1.11], + [have_pkcs11_helper=3D"yes"], + [] + ) +fi if test "$enable_dco" !=3D "no"; then -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/1085?usp=3Demail To unsubscribe, or for help writing mail filters, visit http://gerrit.openv= pn.net/settings Gerrit-Project: openvpn Gerrit-Branch: master Gerrit-Change-Id: I152577b7d9b3b3a0d298971f47ba412d3f43d50d Gerrit-Change-Number: 1085 Gerrit-PatchSet: 1 Gerrit-Owner: plaisthos Gerrit-Reviewer: flichtenheld Gerrit-CC: openvpn-devel Gerrit-Attention: flichtenheld Gerrit-MessageType: newchange --HERsdyqJRFQ= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is currently required from: flichtenheld.

plaisthos would like flichtenheld to review this change.

V= iew Change

Do not check for pkcs11-helper when pkcs11 is not enabled
On my system with mac and homebrew this pulls in a version from homebr= ew
that adds OpenSSL paths/flags from homebrew as well. Those flags then=
end up in various other locations.

Change-Id: I152577b7d9b3b3a0d= 298971f47ba412d3f43d50d
Signed-off-by: Arne Schwabe <arne@...1227...&= gt;
---
M configure.ac
1 file changed, 8 insertions(+), 6 deletion= s(-)

git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes=
/85/1085/1
diff --git a/configure.ac b/configure.ac
index 51c20ef..c1ee69c 100644
--- a/configure.ac+++ b/configure.ac
@@ -798,12 +798,14 @@
<= span> ;;
esac

-PKG_CHECK_MODULES(
- [PKCS11_HELPER],
- [libpkcs11-helper-1 >=3D 1.11],
- [have_pkcs11_helper=3D"yes"]= ,
- []
-)
+if test "${enable_pkcs11}" =3D "yes"= ; then
+ PKG_CHECK= _MODULES(
+ [P= KCS11_HELPER],
+ = [libpkcs11-helper-1 >=3D 1.11],
+ [have_pkcs11_helper=3D"yes"],+ []
+ )
+fi


if test "$enable_dco" !=3D "no"; then

To view, visit change 1085. To unsubscribe, or for help = writing mail filters, visit = settings.

Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I152577b7d9b3b3a0d298971f47b= a412d3f43d50d
Gerrit-Change-Number: 1085
Gerrit-PatchSet: 1
Gerrit-Owner: plaisthos <arne-openvpn@...1711...= 27...>
Gerrit-Reviewer: flichtenheld <frank@...2716...= 1...>
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...= ts.sourceforge.net>
Gerrit-Attention: flichtenheld <frank@...2375...= 41...>
Gerrit-MessageType: newchange
--HERsdyqJRFQ=--