[Pkg-openssl-devel] Bug#1154785: imx-code-signing-tool: FTBFS with openssl 4.0

Sebastian Andrzej Siewior sebastian at breakpoint.cc
Sun Nov 22 11:54:15 GMT 2026


Package: imx-code-signing-tool
Version: 4.0.1+dfsg-3
Severity: normal
Tags: sid
control: affects -1 src:openssl
User: pkg-openssl-devel at lists.alioth.debian.org
Usertags: openssl-4.1

OpenSSL 4.1 is in experimental. This package fails to build against it:

| /build/reproducible-path/imx-code-signing-tool-4.0.1+dfsg/src/lib/common/openssl_helper.c: In function ‘get_certificate_serial_number_length’:
| /build/reproducible-path/imx-code-signing-tool-4.0.1+dfsg/src/lib/common/openssl_helper.c:1261:5: error: ‘ASN1_STRING_length’ is deprecated: Since OpenSSL 4.1; use ASN1_STRING_get_length() [-Werror=deprecated-declarations]
|  1261 |     serial_length = ASN1_STRING_length(serial_number);
|       |     ^~~~~~~~~~~~~
| In file included from /usr/include/openssl/objects.h:21,
|                  from /usr/include/openssl/evp.h:48,
|                  from /build/reproducible-path/imx-code-signing-tool-4.0.1+dfsg/src/lib/common/openssl_helper.c:27:
| /usr/include/openssl/asn1.h:794:5: note: declared here
|   794 | int ASN1_STRING_length(const ASN1_STRING *x);
|       |     ^~~~~~~~~~~~~~~~~~
| cc1: all warnings being treated as errors

It builds fine against openssl 4.0.

Sebastian



More information about the Pkg-openssl-devel mailing list