Opened 5 years ago

Closed 10 months ago

#58964 closed defect (fixed)

bahamut @2.0.7: error: incomplete definition of type 'struct dh_st'

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: yan12125 (Chih-Hsuan Yen)
Port: bahamut

Description

bahamut does not build:

dh.c:285:11: error: incomplete definition of type 'struct dh_st'
    si->dh->p = BN_dup(ircd_prime);
    ~~~~~~^
/opt/local/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'struct dh_st'
typedef struct dh_st DH;
               ^
dh.c:286:11: error: incomplete definition of type 'struct dh_st'
    si->dh->g = BN_dup(ircd_generator);
    ~~~~~~^
/opt/local/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'struct dh_st'
typedef struct dh_st DH;
               ^
dh.c:323:33: error: incomplete definition of type 'struct dh_st'
    if(!si || !si->dh || !si->dh->pub_key)
                          ~~~~~~^
/opt/local/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'struct dh_st'
typedef struct dh_st DH;
               ^
dh.c:326:27: error: incomplete definition of type 'struct dh_st'
    tmp = BN_bn2hex(si->dh->pub_key);
                    ~~~~~~^
/opt/local/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'struct dh_st'
typedef struct dh_st DH;
               ^
4 errors generated.

Presumably this was broken by the recent openssl update.

Apparently I had agreed to maintain this port, but I don't recall touching it in ages and am not working on fixing this problem right now.

Change History (2)

comment:1 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: yan12125 added

comment:2 Changed 10 months ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed

In c7f06016fa06224c70ad49ad330bdcc66a9b13f4/macports-ports (master):

bahamut: Update to 2.2.2

Closes: #43330
Closes: #58964

Note: See TracTickets for help on using tickets.