[Bug 259752] mail/exim-ldap2 : build failed with "./tls-openssl.c:2334:22: error: incomplete definition of type 'struct ssl_cipher_st'"

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 10 Nov 2021 11:27:04 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259752

            Bug ID: 259752
           Summary: mail/exim-ldap2 : build failed with
                    "./tls-openssl.c:2334:22: error: incomplete definition
                    of type 'struct ssl_cipher_st'"
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: fluffy@FreeBSD.org
          Reporter: korsani@free.fr
          Assignee: fluffy@FreeBSD.org
             Flags: maintainer-feedback?(fluffy@FreeBSD.org)

Hi,

I use libressl. It just been updated. I need to rebuild mail/exim-ldap2. It
fails with :

```
cc tls.c
In file included from tls.c:137:
./tls-openssl.c:2334:22: error: incomplete definition of type 'struct
ssl_cipher_st'
ushort id = 0xffff & SSL_CIPHER_get_id(SSL_get_current_cipher(ssl));
                     ^                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
./tls-openssl.c:131:34: note: expanded from macro 'SSL_CIPHER_get_id'
#  define SSL_CIPHER_get_id(c) (c->id)
                                ~^
/usr/local/include/openssl/ssl.h:364:16: note: forward declaration of 'struct
ssl_cipher_st'
typedef struct ssl_cipher_st SSL_CIPHER;
```

Exim is 4.94.2, libressl is 3.4.1

I didn't found any workaround that do not require to uninstall my running
exim...
As libressl has been updated, if I stop exim it won't restart (as it requires
previous version of libressl)

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