Source: squid
Version: 5.2-1
Severity: important
Tags: bookworm sid
User: [email protected]
Usertags: ftbfs-3.0
control: forwarded -1 https://bugs.squid-cache.org/show_bug.cgi?id=5133

Your package is failing to build using OpenSSL 3.0 with the
following error:

| ../../src/security/forward.h: In function ‘void Security::DH_free_cpp(DH*)’:
| ../../src/security/LockingPointer.h:34:21: error: ‘void DH_free(DH*)’ is 
deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
|    34 |             function(a); \
| ../../src/security/forward.h:96:1: note: in expansion of macro ‘CtoCpp1’
|    96 | CtoCpp1(DH_free, DH *);
|       | ^~~~~~~
| In file included from ../../compat/openssl.h:33,
|                  from ../../src/security/Context.h:15,
|                  from ../../src/security/forward.h:14,
|                  from ../../src/SquidConfig.h:26,
|                  from old_api.cc:24:
| /usr/include/openssl/dh.h:200:28: note: declared here
|   200 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh);
|       |                            ^~~~~~~
| In file included from ../../src/ssl/support.h:21,
|                  from ../../src/SquidConfig.h:29,
|                  from old_api.cc:24:
| ../../src/ssl/gadgets.h:60:51: error: ‘void RSA_free(RSA*)’ is deprecated: 
Since OpenSSL 3.0 [-Werror=deprecated-declarations]
|    60 | typedef std::unique_ptr<RSA, HardFun<void, RSA*, &RSA_free>> 
RSA_Pointer;
|       |                                                   ^~~~~~~~
| In file included from /usr/include/openssl/x509.h:36,
|                  from /usr/include/openssl/ssl.h:31,
|                  from ../../compat/openssl.h:42,
|                  from ../../src/security/Context.h:15,
|                  from ../../src/security/forward.h:14,
|                  from ../../src/SquidConfig.h:26,
|                  from old_api.cc:24:

For more information see:
https://www.openssl.org/docs/man3.0/man7/migration_guide.html

Sebastian

Reply via email to