Package: imx-code-signing-tool
Version: 4.0.1+dfsg-3
Severity: normal
Tags: sid
control: affects -1 src:openssl
User: [email protected]
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

Reply via email to