Opened 4 years ago

#59574 new defect

zeroc-ice35: error: member access into incomplete type 'SSL' (aka 'ssl_st')

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.6.2
Keywords: Cc:
Port: zeroc-ice35

Description

zeroc-ice35 doesn't build:

Instance.cpp:144:86: error: member access into incomplete type 'SSL' (aka 'ssl_st')
    IceSSL::Instance* p = reinterpret_cast<IceSSL::Instance*>(SSL_CTX_get_ex_data(ssl->ctx, 0));
                                                                                     ^
/opt/local/include/openssl/ossl_typ.h:147:16: note: forward declaration of 'ssl_st'
typedef struct ssl_st SSL;
               ^
Instance.cpp:153:86: error: member access into incomplete type 'SSL' (aka 'ssl_st')
    IceSSL::Instance* p = reinterpret_cast<IceSSL::Instance*>(SSL_CTX_get_ex_data(ssl->ctx, 0));
                                                                                     ^
/opt/local/include/openssl/ossl_typ.h:147:16: note: forward declaration of 'ssl_st'
typedef struct ssl_st SSL;
               ^
Instance.cpp:277:20: error: use of undeclared identifier 'RAND_egd'
                if(RAND_egd(entropyDaemon.c_str()) <= 0)
                   ^
3 errors generated.

Possibly it is incompatible with openssl 1.1.

Change History (0)

Note: See TracTickets for help on using tickets.