From: "cron2 (Code Review)" Date: Fri, 10 Oct 2025 07:16:52 +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-HTML@...2715...> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="/YOdiWpuuqM="; 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 Cc: plaisthos , flichtenheld , openvpn-devel --/YOdiWpuuqM= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable cron2 has submitted this change. ( http://gerrit.openvpn.net/c/openvpn/+/12= 63?usp=3Demail ) 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(-) 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: merged 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 --/YOdiWpuuqM= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

cron2 sub= mitted this change.

View Change

Fix PIN cache time in test_pkcs11.c

Githu= b: closes OpenVPN/openvpn#861

Change-Id: Ic6fd6ba676b4741da7811ffc7c= 9688d4673465f8
Signed-off-by: Selva Nair <selva.nair@...277...>Acked-by: Arne Schwabe <arne-openvpn@...1227...>
Gerrit URL: http= s://gerrit.openvpn.net/c/openvpn/+/1263
Message-Id: <20251010063934.1= 8197-1-gert@...1296...>
URL: https://www.mail-archive.com/openvpn-dev= el@lists.sourceforge.net/msg33306.html
Signed-off-by: Gert Doering <g= ert@...1296...>
---
M tests/unit_tests/openvpn/test_pkcs11.c
1 = file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/unit_tests/openvpn/test_pkcs11.c b/tests/unit_tests/o=
penvpn/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 @@<= /span>
/* set default propq as we do in ssl_openssl.c */
EVP_set_default_properties(tls_libctx, "?provider!=3D= ovpn.xkey");
#endif
- pkcs11_initialize(true, 0); /* protected auth enabl= ed, pin-cache =3D 0 */
change 1263. To unsubscribe, or for h= elp writing mail filters, visit settings.

Gerrit-MessageType: merged
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>
= --/YOdiWpuuqM=--