[Pkg-openssl-devel] Bug#1154849: radsecproxy: FTBFS with openssl 4.1

Sebastian Andrzej Siewior sebastian at breakpoint.cc
Sun Nov 22 15:17:57 GMT 2026


Package: radsecproxy
Version: 1.11.5-1
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:

| x86_64-linux-gnu-gcc -DPACKAGE_NAME=\"radsecproxy\" -DPACKAGE_TARNAME=\"radsecproxy\" -DPACKAGE_VERSION=\"1.11.5\" -DPACKAGE_STRING=\"radsecproxy\ 1.11.5\" -DPACKAGE_BUGREPORT=\"https://rads ecproxy.github.io\" -DPACKAGE_URL=\"\" -DPACKAGE=\"radsecproxy\" -DVERSION=\"1.11.5\" -DHAVE_MALLOPT=1 -DHAVE_LIBNETTLE=1 -DHAVE_LIBRESOLV=1 -I.  -DSYSCONFDIR=\"/etc\" -Wdate-time -D_FORTIFY _SOURCE=2 -g -Wall -Werror -fno-strict-aliasing -I/usr/include -Wall -pedantic -Wno-long-long -pthread -DRADPROT_UDP -DRADPROT_TCP -DRADPROT_TLS -DRADPROT_DTLS -g -O2 -Werror=implicit-functi on-declaration -ffile-prefix-map=/build/reproducible-path/radsecproxy-1.11.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o tlscom mon.o tlscommon.c
| tlscommon.c: In function ‘certattr_matchip’:
| tlscommon.c:862:5: error: ‘ASN1_STRING_length’ is deprecated: Since OpenSSL 4.1; use ASN1_STRING_get_length() [-Werror=deprecated-declarations]
|   862 |     int l = ASN1_STRING_length(gn->d.iPAddress);
|       |     ^~~
| In file included from radsecproxy.h:20,
|                  from tlscommon.c:11:
| /usr/include/openssl/asn1.h:794:5: note: declared here
|   794 | int ASN1_STRING_length(const ASN1_STRING *x);
|       |     ^~~~~~~~~~~~~~~~~~
| tlscommon.c: In function ‘certattr_matchregex’:
| tlscommon.c:894:5: error: ‘ASN1_STRING_length’ is deprecated: Since OpenSSL 4.1; use ASN1_STRING_get_length() [-Werror=deprecated-declarations]
|   894 |     return _general_name_regex_match((char *)ASN1_STRING_get0_data(gn->d.ia5), ASN1_STRING_length(gn->d.ia5), match);
|       |     ^~~~~~
| /usr/include/openssl/asn1.h:794:5: note: declared here
|   794 | int ASN1_STRING_length(const ASN1_STRING *x);
|       |     ^~~~~~~~~~~~~~~~~~
| tlscommon.c: In function ‘certattr_matchothername’:
| tlscommon.c:901:38: error: ‘ASN1_STRING_length’ is deprecated: Since OpenSSL 4.1; use ASN1_STRING_get_length() [-Werror=deprecated-declarations]
|   901 |                                      ASN1_STRING_length(gn->d.otherName->value->value.octet_string),
|       |                                      ^~~~~~~~~~~~~~~~~~
| /usr/include/openssl/asn1.h:794:5: note: declared here
|   794 | int ASN1_STRING_length(const ASN1_STRING *x);
|       |     ^~~~~~~~~~~~~~~~~~
| tlscommon.c: In function ‘certattr_matchcn’:
| tlscommon.c:926:9: error: ‘ASN1_STRING_length’ is deprecated: Since OpenSSL 4.1; use ASN1_STRING_get_length() [-Werror=deprecated-declarations]
|   926 |         if (_general_name_regex_match((char *)ASN1_STRING_get0_data(t), ASN1_STRING_length(t), match))
|       |         ^~
| /usr/include/openssl/asn1.h:794:5: note: declared here
|   794 | int ASN1_STRING_length(const ASN1_STRING *x);
|       |     ^~~~~~~~~~~~~~~~~~
| tlscommon.c: In function ‘matchsubjaltname’:
| tlscommon.c:965:13: error: ‘ASN1_STRING_length’ is deprecated: Since OpenSSL 4.1; use ASN1_STRING_get_length() [-Werror=deprecated-declarations]
|   965 |             s = stringcopy((char *)ASN1_STRING_get0_data(gn->d.ia5), ASN1_STRING_length(gn->d.ia5));
|       |             ^
| /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
| make[2]: *** [Makefile:668: tlscommon.o] Error 1

Sebastian



More information about the Pkg-openssl-devel mailing list