[Bug 277997] mail/cyrus-imapd38 Fix build against libreSSL

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 27 Mar 2024 19:20:55 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277997

            Bug ID: 277997
           Summary: mail/cyrus-imapd38 Fix build against libreSSL
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ume@FreeBSD.org
          Reporter: david@lapinbilly.eu
             Flags: maintainer-feedback?(ume@FreeBSD.org)
          Assignee: ume@FreeBSD.org
 Attachment #249523 text/plain
         mime type:

Created attachment 249523
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=249523&action=edit
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.