Created attachment 249523 [details] switch to BN_get_rfc2409_prime_1024 Using: DEFAULT_VERSIONS+=ssl=libressl mail/cyrus-imapd38 failed to build: imap/tls.c:260:7: error: incompatible integer to pointer conversion assigning to 'BIGNUM *' (aka 'struct bignum_st *') from 'int' [-Wint-conversion] 260 | p = get_rfc2409_prime_1024(NULL); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Testport passed on libressl and ssl-base port trees.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=e3051908c543c2669210c72736f7d9904e27db95 commit e3051908c543c2669210c72736f7d9904e27db95 Author: Hajimu UMEMOTO <ume@FreeBSD.org> AuthorDate: 2024-03-28 17:22:34 +0000 Commit: Hajimu UMEMOTO <ume@FreeBSD.org> CommitDate: 2024-03-28 17:25:22 +0000 mail/cyrus-imapd38: Fix build against libreSSL. PR: 277997 Reported by: David Marec <david@lapinbilly.eu> mail/cyrus-imapd38/files/patch-imap__tls.c (new) | 14 ++++++++++++++ 1 file changed, 14 insertions(+)
Thanks for your report! I've committed the fix.