FTBFS with openssl 3
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sendmail (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
sendmail 8.16.1 fails to build with openssl 3 in jammy[1]:
Among the various deprecation warnings, there are several errors in sendmail/tls.c:
tls.c:99:11: error: invalid use of incomplete typedef ‘DH’ {aka ‘struct dh_st’}
99 | dh->p = BN_bin2bn(dh512_p, sizeof(dh512_p), NULL);
| ^~
tls.c:100:11: error: invalid use of incomplete typedef ‘DH’ {aka ‘struct dh_st’}
100 | dh->g = BN_bin2bn(dh512_g, sizeof(dh512_g), NULL);
| ^~
tls.c:101:16: error: invalid use of incomplete typedef ‘DH’ {aka ‘struct dh_st’}
101 | if ((dh->p == NULL) || (dh->g == NULL))
| ^~
tls.c:101:35: error: invalid use of incomplete typedef ‘DH’ {aka ‘struct dh_st’}
Version 8.17.1, currently in debian experimental, builds fine, albeit still with the deprecation warnings.
This bug was fixed in the package sendmail - 8.17.1-2
---------------
sendmail (8.17.1-2) unstable; urgency=medium
* QA upload.
* Merge changes from 8.16.1-3.
* Update to Standards-Version: 4.6.1.
* Upload to unstable. (Closes: #1006574, #1009078) (LP: #1956191, #1970472)
-- Andreas Beckmann <email address hidden> Sun, 15 May 2022 16:14:12 +0200