From: "selvanair (Code Review)" Date: Fri, 10 Oct 2025 02:20:36 +0000 References: Reply-To: selva.nair@...277..., arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net, frank@...2641... Message-ID: <9582fd3bfee02c1ba145193e4097a1211802c21e-HTML@...2715...> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="A7RtlZreHtM="; charset=UTF-8 Subject: [Openvpn-devel] [XS] Change in openvpn[master]: Fix PIN cache time in test_pkcs11.c List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: plaisthos , flichtenheld Cc: openvpn-devel --A7RtlZreHtM= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: flichtenheld, plaisthos. Hello plaisthos, flichtenheld, I'd like you to do a code review. Please visit http://gerrit.openvpn.net/c/openvpn/+/1263?usp=3Demail to review the following change. Change subject: Fix PIN cache time in test_pkcs11.c ...................................................................... Fix PIN cache time in test_pkcs11.c Github: closes OpenVPN/openvpn#861 Change-Id: Ic6fd6ba676b4741da7811ffc7c9688d4673465f8 Signed-off-by: Selva Nair --- M tests/unit_tests/openvpn/test_pkcs11.c 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/63/1263/1 diff --git a/tests/unit_tests/openvpn/test_pkcs11.c b/tests/unit_tests/open= vpn/test_pkcs11.c index a4ba088..01cbf96 100644 --- a/tests/unit_tests/openvpn/test_pkcs11.c +++ b/tests/unit_tests/openvpn/test_pkcs11.c @@ -320,7 +320,7 @@ /* set default propq as we do in ssl_openssl.c */ EVP_set_default_properties(tls_libctx, "?provider!=3Dovpn.xkey"); #endif - pkcs11_initialize(true, 0); /* protected auth enabled, pin-cache =3D 0= */ + pkcs11_initialize(true, 60); /* protected auth enabled, pin-cache =3D = 60s */ pkcs11_addProvider(SOFTHSM2_MODULE_PATH, false, 0, false); return 0; } --=20 To view, visit http://gerrit.openvpn.net/c/openvpn/+/1263?usp=3Demail To unsubscribe, or for help writing mail filters, visit http://gerrit.openv= pn.net/settings?usp=3Demail Gerrit-MessageType: newchange Gerrit-Project: openvpn Gerrit-Branch: master Gerrit-Change-Id: Ic6fd6ba676b4741da7811ffc7c9688d4673465f8 Gerrit-Change-Number: 1263 Gerrit-PatchSet: 1 Gerrit-Owner: selvanair Gerrit-Reviewer: flichtenheld Gerrit-Reviewer: plaisthos Gerrit-CC: openvpn-devel Gerrit-Attention: plaisthos Gerrit-Attention: flichtenheld --A7RtlZreHtM= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is cur= rently required from: flichtenheld, plaisthos.

selvanair would like plaisthos and flichtenheld to review this change.

V= iew Change

Fix PIN cache time in test_pkcs11.c

= Github: closes OpenVPN/openvpn#861

Change-Id: Ic6fd6ba676b4741da7811= ffc7c9688d4673465f8
Signed-off-by: Selva Nair <selva.nair@...277...&g= t;
---
M tests/unit_tests/openvpn/test_pkcs11.c
1 file changed, 1 = insertion(+), 1 deletion(-)

git pull ssh://gerri=
t.openvpn.net:29418/openvpn refs/changes/63/1263/1
diff --git a/tes=
ts/unit_tests/openvpn/test_pkcs11.c b/tests/unit_tests/openvpn/test_pkcs11.=
c
index a4ba088..01cbf96 100644
--- a/tests= /unit_tests/openvpn/test_pkcs11.c
+++ b/tests/unit_tests/op= envpn/test_pkcs11.c
@@ -320,7 +320,7 @@
= /* set default propq as we do in ssl_openssl.c */
EV= P_set_default_properties(tls_libctx, "?provider!=3Dovpn.xkey");
#endif
= - pkcs11_initialize(true, 0); /* protected auth enabled, pin-cache =3D 0= */
+ pkcs11_initi= alize(true, 60); /* protected auth enabled, pin-cache =3D 60s */
= pkcs11_addProvider(SOFTHSM2_MODULE_PATH, false, 0, false);
return 0;
}

To view, visit change 1263. To unsubscribe, or for help writing mail filt= ers, visit setti= ngs.

Gerrit-MessageType: newchange
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ic6fd6ba676b4741da7811ffc7c9= 688d4673465f8
Gerrit-Change-Number: 1263
Gerrit-PatchSet: 1
Gerrit-Owner: selvanair <selva.nair@...1354...= ..>
Gerrit-Reviewer: flichtenheld <frank@...2716...= 1...>
Gerrit-Reviewer: plaisthos <arne-openvpn@...1186...= .1227...>
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...= ts.sourceforge.net>
Gerrit-Attention: plaisthos <arne-openvpn@...220...= ..1227...>
Gerrit-Attention: flichtenheld <frank@...2375...= 41...>
= --A7RtlZreHtM=--