On Thu, Apr 06, 2023 at 04:50:14PM +0200, Robin van der Gracht wrote:
> Signed-off-by: Robin van der Gracht <[email protected]>

With this update pkcs11-tool (from host-opensc) does not work correctly any
more. I'm getting "error: OpenSSL error during RSA private key parsing" and
then a segfault. For example with the host-ptx-code-signing-dev package.
I'm not sure what's wrong here.

Michael

> ---
>  rules/host-opensc.make | 2 +-
>  rules/opensc.make      | 6 +++---
>  2 files changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/rules/host-opensc.make b/rules/host-opensc.make
> index 0319064fd..24488de38 100644
> --- a/rules/host-opensc.make
> +++ b/rules/host-opensc.make
> @@ -40,7 +40,7 @@ HOST_OPENSC_CONF_OPT        := \
>       --disable-doc \
>       --disable-dnie-ui \
>       --disable-notify \
> -     --enable-tests=no \
> +     --disable-cmocka \
>       --disable-static
>  
>  HOST_OPENSC_CPPFLAGS := -Wno-implicit-fallthrough
> diff --git a/rules/opensc.make b/rules/opensc.make
> index 0278c53f1..dac5c3ecb 100644
> --- a/rules/opensc.make
> +++ b/rules/opensc.make
> @@ -15,8 +15,8 @@ PACKAGES-$(PTXCONF_OPENSC) += opensc
>  #
>  # Paths and names
>  #
> -OPENSC_VERSION       := 0.19.0
> -OPENSC_MD5   := 40734b2343cf83c62c4c403f8a37475e
> +OPENSC_VERSION       := 0.23.0
> +OPENSC_MD5   := 35c599e673ae9205550974e2dcbe0825
>  OPENSC               := OpenSC-$(OPENSC_VERSION)
>  OPENSC_SUFFIX        := tar.gz
>  OPENSC_URL   := 
> https://github.com/OpenSC/OpenSC/releases/download/$(OPENSC_VERSION)/$(OPENSC).$(OPENSC_SUFFIX)
> @@ -56,7 +56,7 @@ OPENSC_CONF_OPT := \
>       --disable-doc \
>       --disable-dnie-ui \
>       --disable-notify \
> -     --$(call ptx/endis,PTXCONF_OPENSC_TESTSUITE)-tests \
> +     --$(call ptx/endis,PTXCONF_OPENSC_TESTSUITE)-cmocka \
>       --disable-static
>  
>  # 
> ----------------------------------------------------------------------------
> -- 
> 2.37.2
> 
> 
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

Reply via email to