[Bug 267673] mail/sendmail does not build with libressl 3.5

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 09 Nov 2022 23:16:14 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267673

            Bug ID: 267673
           Summary: mail/sendmail does not build with libressl 3.5
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: dinoex@FreeBSD.org
          Reporter: dave@jetcafe.org
          Assignee: dinoex@FreeBSD.org
             Flags: maintainer-feedback?(dinoex@FreeBSD.org)

Latest HEAD (11/9/22) does not build sendmail with SSL=libressl 


cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I.
-I../../include  -I/usr/local/include -I/usr/local/include -DNEWDB -DMAP_REGEX
-DUSE_EAI -DTCPWRAPPERS -DDANE -DUSE_BLACKLIST -DMILTER -DHASSRANDOMDEV
-DSTARTTLS -DTLS_EC=2 -D_FFR_TLS_ALTNAMES -D_FFR_VRFY_TRUSTED_FIRST
-DPICKY_HELO_CHECK  -c blacklist.c -o blacklist.o
--- tls.o ---
tls.c:105:4: error: incomplete definition of type 'struct dh_st'
        dh->p = BN_bin2bn(dh512_p, sizeof(dh512_p), NULL);
        ~~^
/usr/local/include/openssl/ossl_typ.h:132:16: note: forward declaration of
'struct dh_st'
typedef struct dh_st DH;
               ^
tls.c:106:4: error: incomplete definition of type 'struct dh_st'
        dh->g = BN_bin2bn(dh512_g, sizeof(dh512_g), NULL);
        ~~^
/usr/local/include/openssl/ossl_typ.h:132:16: note: forward declaration of
'struct dh_st'
typedef struct dh_st DH;
               ^
tls.c:107:9: error: incomplete definition of type 'struct dh_st'
        if ((dh->p == NULL) || (dh->g == NULL))
             ~~^
/usr/local/include/openssl/ossl_typ.h:132:16: note: forward declaration of
'struct dh_st'
typedef struct dh_st DH;
               ^
tls.c:107:28: error: incomplete definition of type 'struct dh_st'
        if ((dh->p == NULL) || (dh->g == NULL))
                                ~~^
/usr/local/include/openssl/ossl_typ.h:132:16: note: forward declaration of
'struct dh_st'
typedef struct dh_st DH;
               ^
tls.c:175:4: error: incomplete definition of type 'struct dh_st'
        dh->p=BN_bin2bn(dh2048_p,sizeof(dh2048_p),NULL);
        ~~^
/usr/local/include/openssl/ossl_typ.h:132:16: note: forward declaration of
'struct dh_st'
typedef struct dh_st DH;
               ^
tls.c:176:4: error: incomplete definition of type 'struct dh_st'
        dh->g=BN_bin2bn(dh2048_g,sizeof(dh2048_g),NULL);
        ~~^
/usr/local/include/openssl/ossl_typ.h:132:16: note: forward declaration of
'struct dh_st'
typedef struct dh_st DH;
               ^
tls.c:177:9: error: incomplete definition of type 'struct dh_st'
        if ((dh->p == NULL) || (dh->g == NULL))
             ~~^
/usr/local/include/openssl/ossl_typ.h:132:16: note: forward declaration of
'struct dh_st'
typedef struct dh_st DH;
               ^
tls.c:177:28: error: incomplete definition of type 'struct dh_st'
        if ((dh->p == NULL) || (dh->g == NULL))
                                ~~^
/usr/local/include/openssl/ossl_typ.h:132:16: note: forward declaration of
'struct dh_st'
typedef struct dh_st DH;
               ^
tls.c:2347:9: error: incomplete definition of type 'struct x509_store_ctx_st'
        cert = X509_STORE_CTX_get0_cert(ctx);
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tls.c:47:46: note: expanded from macro 'X509_STORE_CTX_get0_cert'
#  define X509_STORE_CTX_get0_cert(ctx) (ctx)->cert
                                        ~~~~~^
/usr/local/include/openssl/ossl_typ.h:155:16: note: forward declaration of
'struct x509_store_ctx_st'
typedef struct x509_store_ctx_st X509_STORE_CTX;
               ^
9 errors generated.
*** [tls.o] Error code 1

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