[Pkg-openssl-devel] Bug#1138321: sslscan: FTBFS with openssl 4.0

Sebastian Andrzej Siewior sebastian at breakpoint.cc
Sat May 30 16:53:13 BST 2026


Package: sslscan
Version: 2.1.5-1
Severity: normal
Tags: sid
control: affects -1 src:openssl
User: pkg-openssl-devel at lists.alioth.debian.org
Usertags: openssl-4.0

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

| cc -o sslscan -Wall -Wformat=2 -Wformat-security -Wno-deprecated-declarations -Wl,-z,relro -Wl,-z,now -pie -z relro -z now -L/usr/local/lib -L/usr/local/ssl/lib -L/usr/local/opt/openssl/lib -L/opt/local/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslscan-2.1.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_FORTIFY_SOURCE=2 -fstack-protector-all -fPIE -std=gnu11 -I/usr/local/include -I/usr/local/ssl/include -I/usr/local/ssl/include/openssl -I/usr/local/opt/openssl/include -I/opt/local/include -I/opt/local/include/openssl -Wdate-time -D_FORTIFY_SOURCE=2 -DVERSION=\"2.1.5\" sslscan.c -lssl -lcrypto -ldl
| In file included from sslscan.c:129:
| sslscan.h:281:23: error: field ‘issuerNameHash’ has incomplete type
|   281 |     ASN1_OCTET_STRING issuerNameHash;
|       |                       ^~~~~~~~~~~~~~
| sslscan.h:282:23: error: field ‘issuerKeyHash’ has incomplete type
|   282 |     ASN1_OCTET_STRING issuerKeyHash;
|       |                       ^~~~~~~~~~~~~
| sslscan.h:283:18: error: field ‘serialNumber’ has incomplete type
|   283 |     ASN1_INTEGER serialNumber;
|       |                  ^~~~~~~~~~~~
| sslscan.c: In function ‘testFallback’:
| sslscan.c:1164:52: error: implicit declaration of function ‘TLSv1_2_client_method’; did you mean ‘TLSv1_3_client_method’? [-Wimplicit-function-declaration]
|  1164 |                                     secondMethod = TLSv1_2_client_method();
|       |                                                    ^~~~~~~~~~~~~~~~~~~~~
|       |                                                    TLSv1_3_client_method
| sslscan.c:1164:50: error: assignment to ‘const SSL_METHOD *’ {aka ‘const struct ssl_method_st *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
|  1164 |                                     secondMethod = TLSv1_2_client_method();
|       |                                                  ^
| sslscan.c:1168:50: error: implicit declaration of function ‘TLSv1_1_client_method’; did you mean ‘TLSv1_3_client_method’? [-Wimplicit-function-declaration]
|  1168 |                                   secondMethod = TLSv1_1_client_method();
|       |                                                  ^~~~~~~~~~~~~~~~~~~~~
|       |                                                  TLSv1_3_client_method
| sslscan.c:1168:48: error: assignment to ‘const SSL_METHOD *’ {aka ‘const struct ssl_method_st *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
|  1168 |                                   secondMethod = TLSv1_1_client_method();
|       |                                                ^
| sslscan.c:1172:50: error: implicit declaration of function ‘TLSv1_client_method’; did you mean ‘TLSv1_3_client_method’? [-Wimplicit-function-declaration]
|  1172 |                                   secondMethod = TLSv1_client_method();
|       |                                                  ^~~~~~~~~~~~~~~~~~~
|       |                                                  TLSv1_3_client_method
| sslscan.c:1172:48: error: assignment to ‘const SSL_METHOD *’ {aka ‘const struct ssl_method_st *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
|  1172 |                                   secondMethod = TLSv1_client_method();
|       |                                                ^
…

Full buildlog
 	https://breakpoint.cc/openssl-rebuild/logs-4/attempted/sslscan_2.1.5-1_amd64-2026-04-19T09:59:03Z

Sebastian



More information about the Pkg-openssl-devel mailing list