From: "cron2 (Code Review)" Date: Fri, 10 Oct 2025 07:16:50 +0000 In-Reply-To: References: Reply-To: gert@...1296..., arne-openvpn@...1227..., selva.nair@...277..., openvpn-devel@lists.sourceforge.net, frank@...2641... Message-ID: <9e60ce4fa08db15e6c0d25d1fa28f97fe8c7c745-EmailReplacePatchSet-HTML@...2715...> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="L3dXyhI/Q2U="; 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: selvanair , plaisthos , flichtenheld Cc: openvpn-devel --L3dXyhI/Q2U= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable cron2 has uploaded a new patch set (#2) to the change originally created by= selvanair. ( http://gerrit.openvpn.net/c/openvpn/+/1263?usp=3Demail ) The following approvals got outdated and were removed: Code-Review+2 by plaisthos 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 Acked-by: Arne Schwabe Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1263 Message-Id: <20251010063934.18197-1-gert@...1296...> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg33= 306.html Signed-off-by: Gert Doering --- 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/2 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; } -- 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: newpatchset Gerrit-Project: openvpn Gerrit-Branch: master Gerrit-Change-Id: Ic6fd6ba676b4741da7811ffc7c9688d4673465f8 Gerrit-Change-Number: 1263 Gerrit-PatchSet: 2 Gerrit-Owner: selvanair Gerrit-Reviewer: flichtenheld Gerrit-Reviewer: plaisthos Gerrit-CC: openvpn-devel --L3dXyhI/Q2U= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

cron2 upl= oaded patch set #2 to the change originally created by selvanair.<= /p>

Vi= ew Change

The following approvals got outdated and were removed: Code-Review+2 by plaisthos

Fix PIN cache time in test_pkcs=
11.c

Github: closes OpenVPN/openvpn#861

Change-Id: Ic6fd6ba67= 6b4741da7811ffc7c9688d4673465f8
Signed-off-by: Selva Nair <selva.nair= @...277...>
Acked-by: Arne Schwabe <arne-openvpn@...1227...>Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1263
Message-Id: <= ;20251010063934.18197-1-gert@...1296...>
URL: https://www.mail-archiv= e.com/openvpn-devel@lists.sourceforge.net/msg33306.html
Signed-off-by: G= ert Doering <gert@...1296...>
---
M tests/unit_tests/openvpn/te= st_pkcs11.c
1 file changed, 1 insertion(+), 1 deletion(-)

<= pre class=3D"blocks" style=3D"font-family: monospace,monospace; white-space= : pre-wrap;">git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/6= 3/1263/2
diff --git a/tests/unit_tests/openvpn/test_pkcs11.c b/test=
s/unit_tests/openvpn/test_pkcs11.c
index a4ba088..01cbf96 1= 00644
--- a/tests/unit_tests/openvpn/test_pkcs11.c+++ b/tests/unit_tests/openvpn/test_pkcs11.c
@@ -32= 0,7 +320,7 @@
/* set default propq as we do in ssl_ope= nssl.c */
EVP_set_default_properties(tls_libctx, "= ;?provider!=3Dovpn.xkey");
#endif
- pkcs11_initialize(true, 0); /* protec= ted auth enabled, pin-cache =3D 0 */
+ pkcs11_initialize(true, 60); /* protected auth enabled= , pin-cache =3D 60s */
pkcs11_addProvider(SOFTHSM2_MOD= ULE_PATH, false, 0, false);
return 0;
= }

To view, visit change 1263. To unsubscri= be, or for help writing mail filters, visit settings.

Gerrit-MessageType: newpatchset
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ic6fd6ba676b4741da7811ffc7c9= 688d4673465f8
Gerrit-Change-Number: 1263
Gerrit-PatchSet: 2
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>
= --L3dXyhI/Q2U=--