From: "cron2 (Code Review)" Date: Wed, 19 Nov 2025 13:31:37 +0000 In-Reply-To: References: Reply-To: gert@...1296..., arne-openvpn@...1227..., selva.nair@...277..., openvpn-devel@lists.sourceforge.net, frank@...2641..., lstipakov@...277... Message-ID: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="xheCPLGD0pg="; charset=UTF-8 Subject: [Openvpn-devel] [S] Change in openvpn[master]: vcpkg-ports/pkcs11-helper: bump version to 1.31 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: selvanair , plaisthos , flichtenheld , stipa Cc: openvpn-devel --xheCPLGD0pg= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable cron2 has uploaded a new patch set (#3) to the change originally created by= selvanair. ( http://gerrit.openvpn.net/c/openvpn/+/1368?usp=3Demail ) The following approvals got outdated and were removed: Code-Review+2 by flichtenheld Change subject: vcpkg-ports/pkcs11-helper: bump version to 1.31 ...................................................................... vcpkg-ports/pkcs11-helper: bump version to 1.31 RFC7512 patch for pkcs11-uri is rebased to current master, fixing minor conflicts. Change-Id: I032a573df6deaa44b4afce3c2d2fd54f69df6e7a Signed-off-by: Selva Nair Acked-by: Frank Lichtenheld Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1368 Message-Id: <20251119110231.13999-1-gert@...1296...> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg34= 527.html Signed-off-by: Gert Doering --- M contrib/vcpkg-ports/pkcs11-helper/pkcs11-helper-001-RFC7512.patch M contrib/vcpkg-ports/pkcs11-helper/portfile.cmake M contrib/vcpkg-ports/pkcs11-helper/vcpkg.json 3 files changed, 15 insertions(+), 16 deletions(-) git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/68/1368/3 diff --git a/contrib/vcpkg-ports/pkcs11-helper/pkcs11-helper-001-RFC7512.pa= tch b/contrib/vcpkg-ports/pkcs11-helper/pkcs11-helper-001-RFC7512.patch index 56e3486..65b159c 100644 --- a/contrib/vcpkg-ports/pkcs11-helper/pkcs11-helper-001-RFC7512.patch +++ b/contrib/vcpkg-ports/pkcs11-helper/pkcs11-helper-001-RFC7512.patch @@ -1,5 +1,7 @@ upstream PR: https://github.com/OpenSC/pkcs11-helper/pull/4 +Rebased to 1.31.0 by selva.nair@...277... + commit 90590b02085edc3830bdfe0942a46c4e7bf3f1ab (HEAD -> master) Author: David Woodhouse Date: Thu Apr 30 14:58:24 2015 +0100 @@ -596,9 +598,9 @@ + } + certificate_id->attrCKA_ID_size =3D id_hex_len/2; - if ( - (rv =3D _pkcs11h_mem_malloc ( -@@ -430,21 +596,64 @@ pkcs11h_certificate_deserializeCertificateId ( + if (certificate_id->attrCKA_ID_size =3D=3D 0) { + rv =3D CKR_ATTRIBUTE_VALUE_INVALID; +@@ -434,21 +600,64 @@ pkcs11h_certificate_deserializeCertificateId ( goto cleanup; } @@ -669,20 +671,17 @@ PKCS11H_LOG_DEBUG2, "PKCS#11: pkcs11h_certificate_deserializeCertificateId return rv=3D%lu-= '%s'", diff --git a/lib/pkcs11h-util.c b/lib/pkcs11h-util.c -index 0743fd1..f90e443 100644 +index 1fcadfc..a304642 100644 --- a/lib/pkcs11h-util.c +++ b/lib/pkcs11h-util.c -@@ -110,12 +110,7 @@ _pkcs11h_util_hexToBinary ( - p++; +@@ -123,10 +123,6 @@ _pkcs11h_util_hexToBinary ( + (*p_target_size)++; } - if (*p !=3D '\x0') { -- return CKR_ATTRIBUTE_VALUE_INVALID; +- goto cleanup; - } -- else { -- return CKR_OK; -- } -+ return CKR_OK; - } +- + ret =3D CKR_OK; - CK_RV + cleanup: diff --git a/contrib/vcpkg-ports/pkcs11-helper/portfile.cmake b/contrib/vcp= kg-ports/pkcs11-helper/portfile.cmake index db9a5ab..af19831 100644 --- a/contrib/vcpkg-ports/pkcs11-helper/portfile.cmake +++ b/contrib/vcpkg-ports/pkcs11-helper/portfile.cmake @@ -1,9 +1,9 @@ -set(VERSION 1.30.0) +set(VERSION 1.31.0) vcpkg_download_distfile(ARCHIVE URLS "https://github.com/OpenSC/pkcs11-helper/releases/download/pkcs11= -helper-${VERSION}/pkcs11-helper-${VERSION}.tar.bz2" FILENAME "pkcs11-helper-${VERSION}.tar.bz2" - SHA512 19fba76e41210cc17f9efa4501d0214d4a5c777ab7b2671888fd280b150bae4= a6b190c7f47fb783015f9aa40d409fd6087264e531d6f28d0bed4293dcbf8bdd5 + SHA512 0833efc59e9093dd398a54640d858b01a830ef7adfb40321c1e0ed0afa00450= 0fc1259cc66bc49c5263935adeda0a3bfe658de538eefd66888685a71f731c484 ) vcpkg_extract_source_archive_ex( diff --git a/contrib/vcpkg-ports/pkcs11-helper/vcpkg.json b/contrib/vcpkg-p= orts/pkcs11-helper/vcpkg.json index 521f754..382a3d3 100644 --- a/contrib/vcpkg-ports/pkcs11-helper/vcpkg.json +++ b/contrib/vcpkg-ports/pkcs11-helper/vcpkg.json @@ -1,6 +1,6 @@ { "name": "pkcs11-helper", - "version": "1.30.0", + "version": "1.31.0", "description": "pkcs11-helper is a library that simplifies the interac= tion with PKCS#11 providers for end-user applications.", "homepage": "https://github.com/OpenSC/pkcs11-helper", "license": "BSD-3-Clause OR GPL-2.0-only" -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/1368?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: I032a573df6deaa44b4afce3c2d2fd54f69df6e7a Gerrit-Change-Number: 1368 Gerrit-PatchSet: 3 Gerrit-Owner: selvanair Gerrit-Reviewer: flichtenheld Gerrit-Reviewer: plaisthos Gerrit-Reviewer: stipa Gerrit-CC: openvpn-devel --xheCPLGD0pg= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

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

Vi= ew Change

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

vcpkg-ports/pkcs11-helper: b=
ump version to 1.31

RFC7512 patch for pkcs11-uri is rebased to curre= nt master,
fixing minor conflicts.

Change-Id: I032a573df6deaa44b4= afce3c2d2fd54f69df6e7a
Signed-off-by: Selva Nair <selva.nair@...1663...= .>
Acked-by: Frank Lichtenheld <frank@...2641...>
Gerrit URL= : https://gerrit.openvpn.net/c/openvpn/+/1368
Message-Id: <2025111911= 0231.13999-1-gert@...1296...>
URL: https://www.mail-archive.com/openv= pn-devel@lists.sourceforge.net/msg34527.html
Signed-off-by: Gert Doering= <gert@...1296...>
---
M contrib/vcpkg-ports/pkcs11-helper/pkcs= 11-helper-001-RFC7512.patch
M contrib/vcpkg-ports/pkcs11-helper/portfile= .cmake
M contrib/vcpkg-ports/pkcs11-helper/vcpkg.json
3 files changed= , 15 insertions(+), 16 deletions(-)

git pull ssh=
://gerrit.openvpn.net:29418/openvpn refs/changes/68/1368/3
diff --=
git a/contrib/vcpkg-ports/pkcs11-helper/pkcs11-helper-001-RFC7512.patch b/c=
ontrib/vcpkg-ports/pkcs11-helper/pkcs11-helper-001-RFC7512.patch
= index 56e3486..65b159c 100644
--- a/contrib/vcpkg-por= ts/pkcs11-helper/pkcs11-helper-001-RFC7512.patch
+++ b/cont= rib/vcpkg-ports/pkcs11-helper/pkcs11-helper-001-RFC7512.patch
@@ -1,5 +1,7 @@
upstream PR: https://github.com/OpenSC/= pkcs11-helper/pull/4

+Rebased to 1.31.0 by selva.nair@...277...
+
commit 90590b020= 85edc3830bdfe0942a46c4e7bf3f1ab (HEAD -> master)
Author= : David Woodhouse <David.Woodhouse@...753...>
Date: = Thu Apr 30 14:58:24 2015 +0100
@@ -596,9 +598,9 @@=
+ }
+ certificate_id->attrCKA_ID_size =3D id= _hex_len/2;

- if (
- (rv= =3D _pkcs11h_mem_malloc (
-@@ -430,21 +596,64 @@ pkcs11h_certificate_deserializeCertificateId (
+ if (certificate_id-= >attrCKA_ID_size =3D=3D 0) {
+ rv =3D CKR_ATTRIBUTE_VALUE_INVALID;
+@@ -434,21 +600,64 @@ pkcs11h_certificate_de= serializeCertificateId (
goto cleanup;
= }

@@ -669,20 +671,17 @@
PKCS11H_LOG_DEBUG2,

"PKCS#11: pkcs11h_certi= ficate_deserializeCertificateId return rv=3D%lu-'%s'",<= br> diff --git a/lib/pkcs11h-util.c b/lib/pkcs11h-util.c
-index 0743fd1..f90e443 100644

+index 1fcadfc..a304642 1= 00644
--- a/lib/pkcs11h-util.c
+++ b/lib/= pkcs11h-util.c
-@@ -110= ,12 +110,7 @@ _pkcs11h_util_hexToBinary (
- p++;
+@@ -123,10 +123,6 @@ _pkcs11h_util_hexToBinary (
+ (*p_target_size)++;
}

- if (*p !=3D '\x0') {
-- return CKR_ATTRIBUTE_= VALUE_INVALID;
+- go= to cleanup;
- }
-- else {
-- = return CKR_OK;
-- }
-+ return CKR_OK;<= br>- }
+-
+ ret =3D CKR_OK;

- CK_RV
+ cleanup:
diff --git a/contrib/vcpkg-ports/pkc= s11-helper/portfile.cmake b/contrib/vcpkg-ports/pkcs11-helper/portfile.cmak= e
index db9a5ab..af19831 100644
--- a/contr= ib/vcpkg-ports/pkcs11-helper/portfile.cmake
+++ b/contrib/v= cpkg-ports/pkcs11-helper/portfile.cmake
@@ -1,9 +1,9 @@

-set(VERSION 1.30.0)
+set(VERSION 1.31.0)

vcpkg_download_distfile(ARCHIVE
URLS "https://github.com/OpenSC/pkcs11-helper/releases/downloa= d/pkcs11-helper-${VERSION}/pkcs11-helper-${VERSION}.tar.bz2"
FILENAME "pkcs11-helper-${VERSION}.tar.bz2"- SHA512 19fba76e41210cc17f9e= fa4501d0214d4a5c777ab7b2671888fd280b150bae4a6b190c7f47fb783015f9aa40d409fd6= 087264e531d6f28d0bed4293dcbf8bdd5
+ SHA512 0833efc59e9093dd398a54640d858b01a830ef7adfb40321c1= e0ed0afa004500fc1259cc66bc49c5263935adeda0a3bfe658de538eefd66888685a71f731c= 484
)

vcpkg_extract_sou= rce_archive_ex(
diff --git a/contrib/vcpkg-ports/pkcs11-hel= per/vcpkg.json b/contrib/vcpkg-ports/pkcs11-helper/vcpkg.json
index 521f754..382a3d3 100644

--- a/contrib/vcpkg-ports/= pkcs11-helper/vcpkg.json
+++ b/contrib/vcpkg-ports/pkcs11-h= elper/vcpkg.json
@@ -1,6 +1,6 @@
{<= br> "name": "pkcs11-helper",
- "version": "1.30.0&= quot;,
+ "ver= sion": "1.31.0",
"description"= ;: "pkcs11-helper is a library that simplifies the interaction with PK= CS#11 providers for end-user applications.",
&quo= t;homepage": "https://github.com/OpenSC/pkcs11-helper",
"license": "BSD-3-Clause OR GPL-2.0-only&qu= ot;

To view, visit change 1368. To unsubscr= ibe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newpatchset
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I032a573df6deaa44b4afce3c2d2= fd54f69df6e7a
Gerrit-Change-Number: 1368
Gerrit-PatchSet: 3
Gerrit-Owner: selvanair <selva.nair@...1354...= ..>
Gerrit-Reviewer: flichtenheld <frank@...2716...= 1...>
Gerrit-Reviewer: plaisthos <arne-openvpn@...1186...= .1227...>
Gerrit-Reviewer: stipa <lstipakov@...277...= >
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...= ts.sourceforge.net>
= --xheCPLGD0pg=--