From: "plaisthos (Code Review)"
Date: Mon, 14 Jul 2025 12:48:16 +0000
In-Reply-To:
References:
Reply-To: arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net,
frank@...2641...
Message-ID: <93822ea0fddb9dcfbbba611bd1338c5b760935bf-EmailReviewComments-HTML@...2715...>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Disposition: inline
Content-Type: multipart/alternative; boundary="xOeKWTrSqjg="; 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: ,
Cc: flichtenheld , openvpn-devel
--xOeKWTrSqjg=
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Attention is currently required from: flichtenheld.
plaisthos has posted comments on this change. ( http://gerrit.openvpn.net/c=
/openvpn/+/1085?usp=3Demail )
Change subject: Do not check for pkcs11-helper when pkcs11 is not enabled
......................................................................
Patch Set 1:
(1 comment)
Patchset:
PS1:
> We should dig deeper. [=E2=80=A6]
This is not limited to mbed TLS.
The test ldflags/cflags will also automatically add the PKCS11 LIBS/CFLAG f=
lags if they are present.
TEST_LDFLAGS=3D"${OPTIONAL_CRYPTO_LIBS} ${OPTIONAL_PKCS11_HELPER_LIBS} ${OP=
TIONAL_LIBCAPNG_LIBS}"
TEST_CFLAGS=3D"${OPTIONAL_CRYPTO_CFLAGS} ${OPTIONAL_PKCS11_HELPER_CFLAGS} $=
{OPTIONAL_LIBCAPNG_CFLAGS}"
It felt easier to just not do the pkg config check and define the variables=
then do an if/fi around all the other uses.
For mbed + pkcs11, see this commit: https://github.com/openvpn/openvpn/comm=
it/9a3f670248d6f519a399e65a7232e2196b5115db
--
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-Comment-Date: Mon, 14 Jul 2025 12:48:16 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: flichtenheld
Gerrit-MessageType: comment
--xOeKWTrSqjg=
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Attention is currently required from: flichtenheld.
View =
Change
1 comment:
This is not limited to mbed TLS.
The test ldflags/cflags will also automa=
tically add the PKCS11 LIBS/CFLAG flags if they are present.
TEST_LDFLAGS=3D"${OPTI=
ONAL_CRYPTO_LIBS} ${OPTIONAL_PKCS11_HELPER_LIBS} ${OPTIONAL_LIBCAPNG_LIBS}&=
quot;
TEST_CFLAGS=3D"${OPTIONAL_CRYPTO_CFLAGS} ${OPTIONAL_PKCS11_HE=
LPER_CFLAGS} ${OPTIONAL_LIBCAPNG_CFLAGS}"
It felt easier to just not do the pkg con=
fig check and define the variables then do an if/fi around all the other us=
es.
For mbed =
+ pkcs11, see this commit: https://github.com/openvpn/openvpn/commit/9a3f67=
0248d6f519a399e65a7232e2196b5115db
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-Comment-Date: Mon, 14 Jul 2025 12:48:16=
+0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: flichtenheld <frank@...1186...=
.2641...>
Gerrit-MessageType: comment
--xOeKWTrSqjg=--