[Compiling library-trans-tls/C_SecureSocket.cpp]
library-trans-tls/C_SecureSocket.cpp: In member function ‘virtual C_Socket* C_SecureSocketClient::process_fd_in_progess(fd_set*, fd_set*, C_TransportEvent*)’:
library-trans-tls/C_SecureSocket.cpp:300:12: error: invalid use of incomplete type ‘SSL’ {aka ‘struct ssl_st’}
m_ssl->rwstate = SSL_NOTHING ;
^~
In file included from /usr/include/openssl/crypto.h:31,
from /usr/include/openssl/bio.h:20,
from ./common/ssl_t.hpp:4,
from library-trans-tls/C_SecureSocket.hpp:24,
from library-trans-tls/C_SecureSocket.cpp:21:
/usr/include/openssl/ossl_typ.h:144:16: note: forward declaration of ‘SSL’ {aka ‘struct ssl_st’}
typedef struct ssl_st SSL;
^~~~~~