Package: osslsigncode
Version: 2.13-1
Severity: normal
Tags: sid
control: affects -1 src:openssl
User: [email protected]
Usertags: openssl-4.0
OpenSSL 4.0 is in experimental. This package fails to build against it:
| [ 10%] Building C object CMakeFiles/osslsigncode.dir/osslsigncode.c.o
| /usr/bin/cc -DHAVE_CONFIG_H=1
-I/build/reproducible-path/osslsigncode-2.13/obj-x86_64-linux-gnu -g -O2
-Werror=implicit-function-declaration
-ffile-prefix-map=/build/reproducible-path/osslsigncode-2.13=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2
-std=gnu11 -fPIE -MD -MT CMakeFiles/osslsigncode.dir/osslsigncode.c.o -MF
CMakeFiles/osslsigncode.dir/osslsigncode.c.o.d -o
CMakeFiles/osslsigncode.dir/osslsigncode.c.o -c
/build/reproducible-path/osslsigncode-2.13/osslsigncode.c
| /build/reproducible-path/osslsigncode-2.13/osslsigncode.c: In function
‘bio_encode_rfc3161_request’:
| /build/reproducible-path/osslsigncode-2.13/osslsigncode.c:319:36: error:
invalid use of incomplete typedef ‘ASN1_OCTET_STRING’ {aka ‘struct
asn1_string_st’}
| 319 | BIO_write(bhash, si->enc_digest->data, si->enc_digest->length);
| | ^~
| /build/reproducible-path/osslsigncode-2.13/osslsigncode.c:319:58: error:
invalid use of incomplete typedef ‘ASN1_OCTET_STRING’ {aka ‘struct
asn1_string_st’}
| 319 | BIO_write(bhash, si->enc_digest->data, si->enc_digest->length);
| | ^~
| In file included from /usr/include/openssl/bio.h:32,
| from /usr/include/openssl/asn1.h:32,
| from /usr/include/openssl/asn1t.h:28,
| from
/build/reproducible-path/osslsigncode-2.13/osslsigncode.h:48,
| from
/build/reproducible-path/osslsigncode-2.13/osslsigncode.c:61:
| /build/reproducible-path/osslsigncode-2.13/osslsigncode.c: In function
‘create_nonce’:
| /build/reproducible-path/osslsigncode-2.13/osslsigncode.c:396:23: error:
invalid use of incomplete typedef ‘ASN1_INTEGER’ {aka ‘struct
asn1_string_st’}
| 396 | OPENSSL_free(nonce->data);
| | ^~
| /build/reproducible-path/osslsigncode-2.13/osslsigncode.c:397:10: error:
invalid use of incomplete typedef ‘ASN1_INTEGER’ {aka ‘struct
asn1_string_st’}
| 397 | nonce->length = len - i;
| | ^~
| /build/reproducible-path/osslsigncode-2.13/osslsigncode.c:398:10: error:
invalid use of incomplete typedef ‘ASN1_INTEGER’ {aka ‘struct
asn1_string_st’}
| 398 | nonce->data = OPENSSL_malloc((size_t)nonce->length + 1);
| | ^~
| /build/reproducible-path/osslsigncode-2.13/osslsigncode.c:398:47: error:
invalid use of incomplete typedef ‘ASN1_INTEGER’ {aka ‘struct
asn1_string_st’}
| 398 | nonce->data = OPENSSL_malloc((size_t)nonce->length + 1);
| | ^~
| /build/reproducible-path/osslsigncode-2.13/osslsigncode.c:399:17: error:
invalid use of incomplete typedef ‘ASN1_INTEGER’ {aka ‘struct
asn1_string_st’}
| 399 | memcpy(nonce->data, buf + i, (size_t)nonce->length);
| | ^~
| /build/reproducible-path/osslsigncode-2.13/osslsigncode.c:399:47: error:
invalid use of incomplete typedef ‘ASN1_INTEGER’ {aka ‘struct
asn1_string_st’}
| 399 | memcpy(nonce->data, buf + i, (size_t)nonce->length);
| | ^~
| /build/reproducible-path/osslsigncode-2.13/osslsigncode.c: In function
‘X509_attribute_chain_append_object’:
| /build/reproducible-path/osslsigncode-2.13/osslsigncode.c:1635:20: warning:
assignment discards ‘const’ qualifier from pointer target type
[-Wdiscarded-qualifiers]
| 1635 | object = X509_ATTRIBUTE_get0_object(attr);
| | ^
| /build/reproducible-path/osslsigncode-2.13/osslsigncode.c: In function
‘verify_timestamp_token’:
| /build/reproducible-path/osslsigncode-2.13/osslsigncode.c:2199:33: error:
invalid use of incomplete typedef ‘ASN1_OCTET_STRING’ {aka ‘struct
asn1_string_st’}
| 2199 | const u_char *p = (*pos)->data;
| | ^~
| /build/reproducible-path/osslsigncode-2.13/osslsigncode.c:2200:62: error:
invalid use of incomplete typedef ‘ASN1_OCTET_STRING’ {aka ‘struct
asn1_string_st’}
| 2200 | TS_TST_INFO *token = d2i_TS_TST_INFO(NULL, &p,
(*pos)->length);
| | ^~
| /build/reproducible-path/osslsigncode-2.13/osslsigncode.c:2232:44: error:
invalid use of incomplete typedef ‘ASN1_OCTET_STRING’ {aka ‘struct
asn1_string_st’}
| 2232 | BIO_write(bhash, si->enc_digest->data,
si->enc_digest->length);
| | ^~
| /build/reproducible-path/osslsigncode-2.13/osslsigncode.c:2232:66: error:
invalid use of incomplete typedef ‘ASN1_OCTET_STRING’ {aka ‘struct
asn1_string_st’}
| 2232 | BIO_write(bhash, si->enc_digest->data,
si->enc_digest->length);
| | ^~
| /build/reproducible-path/osslsigncode-2.13/osslsigncode.c:2238:35: error:
invalid use of incomplete typedef ‘ASN1_OCTET_STRING’ {aka ‘struct
asn1_string_st’}
| 2238 | if (memcmp(mdbuf, hash->data, (size_t)hash->length)) {
| | ^~
| /build/reproducible-path/osslsigncode-2.13/osslsigncode.c:2238:55: error:
invalid use of incomplete typedef ‘ASN1_OCTET_STRING’ {aka ‘struct
asn1_string_st’}
| 2238 | if (memcmp(mdbuf, hash->data, (size_t)hash->length)) {
| | ^~
| /build/reproducible-path/osslsigncode-2.13/osslsigncode.c:2242:65: error:
invalid use of incomplete typedef ‘ASN1_OCTET_STRING’ {aka ‘struct
asn1_string_st’}
| 2242 | print_hash("\tReceived message digest", "",
hash->data, hash->length);
| | ^~
…
Full buildlog
https://breakpoint.cc/openssl-rebuild/logs-4/attempted/osslsigncode_2.13-1_amd64-2026-04-19T07:30:03Z
Sebastian