You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
boost versio : BOOST_LIB_VERSION "1_58"
openssl version : openssl 1.1.1 g
In file included from /usr/local/include/openssl/bio.h:20:0,
from /usr/local/include/openssl/conf.h:13,
from /usr/local/include/boost/asio/ssl/detail/openssl_types.hpp:19,
from /usr/local/include/boost/asio/ssl/context_base.hpp:19,
from /usr/local/include/boost/asio/ssl/context.hpp:27,
from /usr/local/include/boost/asio/ssl.hpp:19,
from /home/ubuntu/Vikas/Test/crow/include/crow/socket_adaptors.h:4,
from /home/ubuntu/Vikas/Test/crow/include/crow.h:7,
from /home/ubuntu/Vikas/Test/crow/examples/ssl/example_ssl.cpp:2:
/usr/local/include/boost/asio/ssl/detail/impl/openssl_init.ipp: In constructor ‘boost::asio::ssl::detail::openssl_init_base::do_init::do_init()’:
/usr/local/include/boost/asio/ssl/detail/impl/openssl_init.ipp:43:23: error: expected id-expression before ‘(’ token
mutexes_.resize(::CRYPTO_num_locks());
^
In file included from /usr/local/include/boost/asio/ssl/detail/openssl_init.hpp:100:0,
from /usr/local/include/boost/asio/ssl/context.hpp:29,
from /usr/local/include/boost/asio/ssl.hpp:19,
from /home/ubuntu/Vikas/Test/crow/include/crow/socket_adaptors.h:4,
from /home/ubuntu/Vikas/Test/crow/include/crow.h:7,
from /home/ubuntu/Vikas/Test/crow/examples/ssl/example_ssl.cpp:2:
/usr/local/include/boost/asio/ssl/detail/impl/openssl_init.ipp:46:66: error: expected id-expression before ‘;’ token
::CRYPTO_set_locking_callback(&do_init::openssl_locking_func);
^
/usr/local/include/boost/asio/ssl/detail/impl/openssl_init.ipp:47:56: error: expected id-expression before ‘;’ token
::CRYPTO_set_id_callback(&do_init::openssl_id_func);
^
/usr/local/include/boost/asio/ssl/detail/impl/openssl_init.ipp: In destructor ‘boost::asio::ssl::detail::openssl_init_base::do_init::~do_init()’:
/usr/local/include/boost/asio/ssl/detail/impl/openssl_init.ipp:64:32: error: expected id-expression before ‘;’ token
::CRYPTO_set_id_callback(0);
^
/usr/local/include/boost/asio/ssl/detail/impl/openssl_init.ipp:65:37: error: expected id-expression before ‘;’ token
::CRYPTO_set_locking_callback(0);
^
In file included from /usr/local/include/openssl/engine.h:25:0,
from /usr/local/include/boost/asio/ssl/detail/openssl_types.hpp:22,
from /usr/local/include/boost/asio/ssl/context_base.hpp:19,
from /usr/local/include/boost/asio/ssl/context.hpp:27,
from /usr/local/include/boost/asio/ssl.hpp:19,
from /home/ubuntu/Vikas/Test/crow/include/crow/socket_adaptors.h:4,
from /home/ubuntu/Vikas/Test/crow/include/crow.h:7,
from /home/ubuntu/Vikas/Test/crow/examples/ssl/example_ssl.cpp:2:
/usr/local/include/boost/asio/ssl/detail/impl/openssl_init.ipp:66:7: error: expected id-expression before ‘while’
::ERR_free_strings();
^
In file included from /usr/local/include/openssl/x509.h:18:0,
from /usr/local/include/openssl/ssl.h:20,
from /usr/local/include/boost/asio/ssl/detail/openssl_types.hpp:20,
from /usr/local/include/boost/asio/ssl/context_base.hpp:19,
from /usr/local/include/boost/asio/ssl/context.hpp:27,
from /usr/local/include/boost/asio/ssl.hpp:19,
from /home/ubuntu/Vikas/Test/crow/include/crow/socket_adaptors.h:4,
from /home/ubuntu/Vikas/Test/crow/include/crow.h:7,
from /home/ubuntu/Vikas/Test/crow/examples/ssl/example_ssl.cpp:2:
/usr/local/include/boost/asio/ssl/detail/impl/openssl_init.ipp:72:7: error: expected id-expression before ‘while’
::EVP_cleanup();
^
In file included from /usr/local/include/openssl/bio.h:20:0,
from /usr/local/include/openssl/conf.h:13,
from /usr/local/include/boost/asio/ssl/detail/openssl_types.hpp:19,
from /usr/local/include/boost/asio/ssl/context_base.hpp:19,
from /usr/local/include/boost/asio/ssl/context.hpp:27,
from /usr/local/include/boost/asio/ssl.hpp:19,
from /home/ubuntu/Vikas/Test/crow/include/crow/socket_adaptors.h:4,
from /home/ubuntu/Vikas/Test/crow/include/crow.h:7,
from /home/ubuntu/Vikas/Test/crow/examples/ssl/example_ssl.cpp:2:
/usr/local/include/boost/asio/ssl/detail/impl/openssl_init.ipp:73:7: error: expected id-expression before ‘while’
::CRYPTO_cleanup_all_ex_data();
^
In file included from /usr/local/include/boost/asio/ssl/detail/openssl_types.hpp:22:0,
from /usr/local/include/boost/asio/ssl/context_base.hpp:19,
from /usr/local/include/boost/asio/ssl/context.hpp:27,
from /usr/local/include/boost/asio/ssl.hpp:19,
from /home/ubuntu/Vikas/Test/crow/include/crow/socket_adaptors.h:4,
from /home/ubuntu/Vikas/Test/crow/include/crow.h:7,
from /home/ubuntu/Vikas/Test/crow/examples/ssl/example_ssl.cpp:2:
/usr/local/include/boost/asio/ssl/detail/impl/openssl_init.ipp:76:7: error: expected id-expression before ‘while’
::ENGINE_cleanup();
^
In file included from /usr/local/include/boost/asio/ssl/context.hpp:786:0,
from /usr/local/include/boost/asio/ssl.hpp:19,
from /home/ubuntu/Vikas/Test/crow/include/crow/socket_adaptors.h:4,
from /home/ubuntu/Vikas/Test/crow/include/crow.h:7,
from /home/ubuntu/Vikas/Test/crow/examples/ssl/example_ssl.cpp:2:
/usr/local/include/boost/asio/ssl/impl/context.ipp: In constructor ‘boost::asio::ssl::context::context(boost::asio::ssl::context_base::method)’:
/usr/local/include/boost/asio/ssl/impl/context.ipp:83:29: error: ‘::SSLv2_method’ has not been declared
handle_ = ::SSL_CTX_new(::SSLv2_method());
^
/usr/local/include/boost/asio/ssl/impl/context.ipp:86:29: error: ‘::SSLv2_client_method’ has not been declared
handle_ = ::SSL_CTX_new(::SSLv2_client_method());
^
/usr/local/include/boost/asio/ssl/impl/context.ipp:89:29: error: ‘::SSLv2_server_method’ has not been declared
handle_ = ::SSL_CTX_new(::SSLv2_server_method());
^
/usr/local/include/boost/asio/ssl/impl/context.ipp:93:29: error: ‘::SSLv3_method’ has not been declared
handle_ = ::SSL_CTX_new(::SSLv3_method());
^
/usr/local/include/boost/asio/ssl/impl/context.ipp:96:29: error: ‘::SSLv3_client_method’ has not been declared
handle_ = ::SSL_CTX_new(::SSLv3_client_method());
^
/usr/local/include/boost/asio/ssl/impl/context.ipp:99:29: error: ‘::SSLv3_server_method’ has not been declared
handle_ = ::SSL_CTX_new(::SSLv3_server_method());
^
/usr/local/include/boost/asio/ssl/impl/context.ipp: In destructor ‘boost::asio::ssl::context::~context()’:
/usr/local/include/boost/asio/ssl/impl/context.ipp:199:16: error: invalid use of incomplete type ‘SSL_CTX {aka struct ssl_ctx_st}’
if (handle_->default_passwd_callback_userdata)
^
In file included from /usr/local/include/openssl/crypto.h:25:0,
from /usr/local/include/openssl/bio.h:20,
from /usr/local/include/openssl/conf.h:13,
from /usr/local/include/boost/asio/ssl/detail/openssl_types.hpp:19,
from /usr/local/include/boost/asio/ssl/context_base.hpp:19,
from /usr/local/include/boost/asio/ssl/context.hpp:27,
from /usr/local/include/boost/asio/ssl.hpp:19,
from /home/ubuntu/Vikas/Test/crow/include/crow/socket_adaptors.h:4,
from /home/ubuntu/Vikas/Test/crow/include/crow.h:7,
from /home/ubuntu/Vikas/Test/crow/examples/ssl/example_ssl.cpp:2:
/usr/local/include/openssl/ossl_typ.h:149:16: note: forward declaration of ‘SSL_CTX {aka struct ssl_ctx_st}’
typedef struct ssl_ctx_st SSL_CTX;
^
In file included from /usr/local/include/boost/asio/ssl/context.hpp:786:0,
from /usr/local/include/boost/asio/ssl.hpp:19,
from /home/ubuntu/Vikas/Test/crow/include/crow/socket_adaptors.h:4,
from /home/ubuntu/Vikas/Test/crow/include/crow.h:7,
from /home/ubuntu/Vikas/Test/crow/examples/ssl/example_ssl.cpp:2:
/usr/local/include/boost/asio/ssl/impl/context.ipp:203:20: error: invalid use of incomplete type ‘SSL_CTX {aka struct ssl_ctx_st}’
handle_->default_passwd_callback_userdata);
^
In file included from /usr/local/include/openssl/crypto.h:25:0,
from /usr/local/include/openssl/bio.h:20,
from /usr/local/include/openssl/conf.h:13,
from /usr/local/include/boost/asio/ssl/detail/openssl_types.hpp:19,
from /usr/local/include/boost/asio/ssl/context_base.hpp:19,
from /usr/local/include/boost/asio/ssl/context.hpp:27,
from /usr/local/include/boost/asio/ssl.hpp:19,
from /home/ubuntu/Vikas/Test/crow/include/crow/socket_adaptors.h:4,
from /home/ubuntu/Vikas/Test/crow/include/crow.h:7,
from /home/ubuntu/Vikas/Test/crow/examples/ssl/example_ssl.cpp:2:
/usr/local/include/openssl/ossl_typ.h:149:16: note: forward declaration of ‘SSL_CTX {aka struct ssl_ctx_st}’
typedef struct ssl_ctx_st SSL_CTX;
^
In file included from /usr/local/include/boost/asio/ssl/context.hpp:786:0,
from /usr/local/include/boost/asio/ssl.hpp:19,
from /home/ubuntu/Vikas/Test/crow/include/crow/socket_adaptors.h:4,
from /home/ubuntu/Vikas/Test/crow/include/crow.h:7,
from /home/ubuntu/Vikas/Test/crow/examples/ssl/example_ssl.cpp:2:
/usr/local/include/boost/asio/ssl/impl/context.ipp:205:14: error: invalid use of incomplete type ‘SSL_CTX {aka struct ssl_ctx_st}’
handle_->default_passwd_callback_userdata = 0;
^
In file included from /usr/local/include/openssl/crypto.h:25:0,
from /usr/local/include/openssl/bio.h:20,
from /usr/local/include/openssl/conf.h:13,
from /usr/local/include/boost/asio/ssl/detail/openssl_types.hpp:19,
from /usr/local/include/boost/asio/ssl/context_base.hpp:19,
from /usr/local/include/boost/asio/ssl/context.hpp:27,
from /usr/local/include/boost/asio/ssl.hpp:19,
from /home/ubuntu/Vikas/Test/crow/include/crow/socket_adaptors.h:4,
from /home/ubuntu/Vikas/Test/crow/include/crow.h:7,
from /home/ubuntu/Vikas/Test/crow/examples/ssl/example_ssl.cpp:2:
/usr/local/include/openssl/ossl_typ.h:149:16: note: forward declaration of ‘SSL_CTX {aka struct ssl_ctx_st}’
typedef struct ssl_ctx_st SSL_CTX;
^
In file included from /usr/local/include/boost/asio/ssl/context.hpp:786:0,
from /usr/local/include/boost/asio/ssl.hpp:19,
from /home/ubuntu/Vikas/Test/crow/include/crow/socket_adaptors.h:4,
from /home/ubuntu/Vikas/Test/crow/include/crow.h:7,
from /home/ubuntu/Vikas/Test/crow/examples/ssl/example_ssl.cpp:2:
/usr/local/include/boost/asio/ssl/impl/context.ipp: In member function ‘boost::system::error_code boost::asio::ssl::context::use_certificate_chain(const boost::asio::const_buffer&, boost::system::error_code&)’:
/usr/local/include/boost/asio/ssl/impl/context.ipp:542:18: error: invalid use of incomplete type ‘SSL_CTX {aka struct ssl_ctx_st}’
handle_->default_passwd_callback,
^
In file included from /usr/local/include/openssl/crypto.h:25:0,
from /usr/local/include/openssl/bio.h:20,
from /usr/local/include/openssl/conf.h:13,
from /usr/local/include/boost/asio/ssl/detail/openssl_types.hpp:19,
from /usr/local/include/boost/asio/ssl/context_base.hpp:19,
from /usr/local/include/boost/asio/ssl/context.hpp:27,
from /usr/local/include/boost/asio/ssl.hpp:19,
from /home/ubuntu/Vikas/Test/crow/include/crow/socket_adaptors.h:4,
from /home/ubuntu/Vikas/Test/crow/include/crow.h:7,
from /home/ubuntu/Vikas/Test/crow/examples/ssl/example_ssl.cpp:2:
/usr/local/include/openssl/ossl_typ.h:149:16: note: forward declaration of ‘SSL_CTX {aka struct ssl_ctx_st}’
typedef struct ssl_ctx_st SSL_CTX;
^
In file included from /usr/local/include/boost/asio/ssl/context.hpp:786:0,
from /usr/local/include/boost/asio/ssl.hpp:19,
from /home/ubuntu/Vikas/Test/crow/include/crow/socket_adaptors.h:4,
from /home/ubuntu/Vikas/Test/crow/include/crow.h:7,
from /home/ubuntu/Vikas/Test/crow/examples/ssl/example_ssl.cpp:2:
/usr/local/include/boost/asio/ssl/impl/context.ipp:543:18: error: invalid use of incomplete type ‘SSL_CTX {aka struct ssl_ctx_st}’
handle_->default_passwd_callback_userdata) };
^
In file included from /usr/local/include/openssl/crypto.h:25:0,
from /usr/local/include/openssl/bio.h:20,
from /usr/local/include/openssl/conf.h:13,
from /usr/local/include/boost/asio/ssl/detail/openssl_types.hpp:19,
from /usr/local/include/boost/asio/ssl/context_base.hpp:19,
from /usr/local/include/boost/asio/ssl/context.hpp:27,
from /usr/local/include/boost/asio/ssl.hpp:19,
from /home/ubuntu/Vikas/Test/crow/include/crow/socket_adaptors.h:4,
from /home/ubuntu/Vikas/Test/crow/include/crow.h:7,
from /home/ubuntu/Vikas/Test/crow/examples/ssl/example_ssl.cpp:2:
/usr/local/include/openssl/ossl_typ.h:149:16: note: forward declaration of ‘SSL_CTX {aka struct ssl_ctx_st}’
typedef struct ssl_ctx_st SSL_CTX;
^
In file included from /usr/local/include/boost/asio/ssl/context.hpp:786:0,
from /usr/local/include/boost/asio/ssl.hpp:19,
from /home/ubuntu/Vikas/Test/crow/include/crow/socket_adaptors.h:4,
from /home/ubuntu/Vikas/Test/crow/include/crow.h:7,
from /home/ubuntu/Vikas/Test/crow/examples/ssl/example_ssl.cpp:2:
/usr/local/include/boost/asio/ssl/impl/context.ipp:560:16: error: invalid use of incomplete type ‘SSL_CTX {aka struct ssl_ctx_st}’
if (handle_->extra_certs)
^
In file included from /usr/local/include/openssl/crypto.h:25:0,
from /usr/local/include/openssl/bio.h:20,
from /usr/local/include/openssl/conf.h:13,
from /usr/local/include/boost/asio/ssl/detail/openssl_types.hpp:19,
from /usr/local/include/boost/asio/ssl/context_base.hpp:19,
from /usr/local/include/boost/asio/ssl/context.hpp:27,
from /usr/local/include/boost/asio/ssl.hpp:19,
from /home/ubuntu/Vikas/Test/crow/include/crow/socket_adaptors.h:4,
from /home/ubuntu/Vikas/Test/crow/include/crow.h:7,
from /home/ubuntu/Vikas/Test/crow/examples/ssl/example_ssl.cpp:2:
/usr/local/include/openssl/ossl_typ.h:149:16: note: forward declaration of ‘SSL_CTX {aka struct ssl_ctx_st}’
typedef struct ssl_ctx_st SSL_CTX;
^
In file included from /usr/local/include/boost/asio/ssl/context.hpp:786:0,
from /usr/local/include/boost/asio/ssl.hpp:19,
from /home/ubuntu/Vikas/Test/crow/include/crow/socket_adaptors.h:4,
from /home/ubuntu/Vikas/Test/crow/include/crow.h:7,
from /home/ubuntu/Vikas/Test/crow/examples/ssl/example_ssl.cpp:2:
/usr/local/include/boost/asio/ssl/impl/context.ipp:562:33: error: invalid use of incomplete type ‘SSL_CTX {aka struct ssl_ctx_st}’
::sk_X509_pop_free(handle_->extra_certs, X509_free);
^
In file included from /usr/local/include/openssl/crypto.h:25:0,
from /usr/local/include/openssl/bio.h:20,
from /usr/local/include/openssl/conf.h:13,
from /usr/local/include/boost/asio/ssl/detail/openssl_types.hpp:19,
from /usr/local/include/boost/asio/ssl/context_base.hpp:19,
from /usr/local/include/boost/asio/ssl/context.hpp:27,
from /usr/local/include/boost/asio/ssl.hpp:19,
from /home/ubuntu/Vikas/Test/crow/include/crow/socket_adaptors.h:4,
from /home/ubuntu/Vikas/Test/crow/include/crow.h:7,
from /home/ubuntu/Vikas/Test/crow/examples/ssl/example_ssl.cpp:2:
/usr/local/include/openssl/ossl_typ.h:149:16: note: forward declaration of ‘SSL_CTX {aka struct ssl_ctx_st}’
typedef struct ssl_ctx_st SSL_CTX;
^
In file included from /usr/local/include/boost/asio/ssl/context.hpp:786:0,
from /usr/local/include/boost/asio/ssl.hpp:19,
from /home/ubuntu/Vikas/Test/crow/include/crow/socket_adaptors.h:4,
from /home/ubuntu/Vikas/Test/crow/include/crow.h:7,
from /home/ubuntu/Vikas/Test/crow/examples/ssl/example_ssl.cpp:2:
/usr/local/include/boost/asio/ssl/impl/context.ipp:563:14: error: invalid use of incomplete type ‘SSL_CTX {aka struct ssl_ctx_st}’
handle_->extra_certs = 0;
^
In file included from /usr/local/include/openssl/crypto.h:25:0,
from /usr/local/include/openssl/bio.h:20,
from /usr/local/include/openssl/conf.h:13,
from /usr/local/include/boost/asio/ssl/detail/openssl_types.hpp:19,
from /usr/local/include/boost/asio/ssl/context_base.hpp:19,
from /usr/local/include/boost/asio/ssl/context.hpp:27,
from /usr/local/include/boost/asio/ssl.hpp:19,
from /home/ubuntu/Vikas/Test/crow/include/crow/socket_adaptors.h:4,
from /home/ubuntu/Vikas/Test/crow/include/crow.h:7,
from /home/ubuntu/Vikas/Test/crow/examples/ssl/example_ssl.cpp:2:
/usr/local/include/openssl/ossl_typ.h:149:16: note: forward declaration of ‘SSL_CTX {aka struct ssl_ctx_st}’
typedef struct ssl_ctx_st SSL_CTX;
^
In file included from /usr/local/include/boost/asio/ssl/context.hpp:786:0,
from /usr/local/include/boost/asio/ssl.hpp:19,
from /home/ubuntu/Vikas/Test/crow/include/crow/socket_adaptors.h:4,
from /home/ubuntu/Vikas/Test/crow/include/crow.h:7,
from /home/ubuntu/Vikas/Test/crow/examples/ssl/example_ssl.cpp:2:
/usr/local/include/boost/asio/ssl/impl/context.ipp:567:18: error: invalid use of incomplete type ‘SSL_CTX {aka struct ssl_ctx_st}’
handle_->default_passwd_callback,
^
In file included from /usr/local/include/openssl/crypto.h:25:0,
from /usr/local/include/openssl/bio.h:20,
from /usr/local/include/openssl/conf.h:13,
from /usr/local/include/boost/asio/ssl/detail/openssl_types.hpp:19,
from /usr/local/include/boost/asio/ssl/context_base.hpp:19,
from /usr/local/include/boost/asio/ssl/context.hpp:27,
from /usr/local/include/boost/asio/ssl.hpp:19,
from /home/ubuntu/Vikas/Test/crow/include/crow/socket_adaptors.h:4,
from /home/ubuntu/Vikas/Test/crow/include/crow.h:7,
from /home/ubuntu/Vikas/Test/crow/examples/ssl/example_ssl.cpp:2:
/usr/local/include/openssl/ossl_typ.h:149:16: note: forward declaration of ‘SSL_CTX {aka struct ssl_ctx_st}’
typedef struct ssl_ctx_st SSL_CTX;
^
In file included from /usr/local/include/boost/asio/ssl/context.hpp:786:0,
from /usr/local/include/boost/asio/ssl.hpp:19,
from /home/ubuntu/Vikas/Test/crow/include/crow/socket_adaptors.h:4,
from /home/ubuntu/Vikas/Test/crow/include/crow.h:7,
from /home/ubuntu/Vikas/Test/crow/examples/ssl/example_ssl.cpp:2:
/usr/local/include/boost/asio/ssl/impl/context.ipp:568:18: error: invalid use of incomplete type ‘SSL_CTX {aka struct ssl_ctx_st}’
handle_->default_passwd_callback_userdata))
^
In file included from /usr/local/include/openssl/crypto.h:25:0,
from /usr/local/include/openssl/bio.h:20,
from /usr/local/include/openssl/conf.h:13,
from /usr/local/include/boost/asio/ssl/detail/openssl_types.hpp:19,
from /usr/local/include/boost/asio/ssl/context_base.hpp:19,
from /usr/local/include/boost/asio/ssl/context.hpp:27,
from /usr/local/include/boost/asio/ssl.hpp:19,
from /home/ubuntu/Vikas/Test/crow/include/crow/socket_adaptors.h:4,
from /home/ubuntu/Vikas/Test/crow/include/crow.h:7,
from /home/ubuntu/Vikas/Test/crow/examples/ssl/example_ssl.cpp:2:
/usr/local/include/openssl/ossl_typ.h:149:16: note: forward declaration of ‘SSL_CTX {aka struct ssl_ctx_st}’
typedef struct ssl_ctx_st SSL_CTX;
^
In file included from /usr/local/include/boost/asio/ssl/context.hpp:786:0,
from /usr/local/include/boost/asio/ssl.hpp:19,
from /home/ubuntu/Vikas/Test/crow/include/crow/socket_adaptors.h:4,
from /home/ubuntu/Vikas/Test/crow/include/crow.h:7,
from /home/ubuntu/Vikas/Test/crow/examples/ssl/example_ssl.cpp:2:
/usr/local/include/boost/asio/ssl/impl/context.ipp: In member function ‘boost::system::error_code boost::asio::ssl::context::use_private_key(const boost::asio::const_buffer&, boost::asio::ssl::context_base::file_format, boost::system::error_code&)’:
/usr/local/include/boost/asio/ssl/impl/context.ipp:644:28: error: invalid use of incomplete type ‘SSL_CTX {aka struct ssl_ctx_st}’
bio.p, 0, handle_->default_passwd_callback,
^
In file included from /usr/local/include/openssl/crypto.h:25:0,
from /usr/local/include/openssl/bio.h:20,
from /usr/local/include/openssl/conf.h:13,
from /usr/local/include/boost/asio/ssl/detail/openssl_types.hpp:19,
from /usr/local/include/boost/asio/ssl/context_base.hpp:19,
from /usr/local/include/boost/asio/ssl/context.hpp:27,
from /usr/local/include/boost/asio/ssl.hpp:19,
from /home/ubuntu/Vikas/Test/crow/include/crow/socket_adaptors.h:4,
from /home/ubuntu/Vikas/Test/crow/include/crow.h:7,
from /home/ubuntu/Vikas/Test/crow/examples/ssl/example_ssl.cpp:2:
/usr/local/include/openssl/ossl_typ.h:149:16: note: forward declaration of ‘SSL_CTX {aka struct ssl_ctx_st}’
typedef struct ssl_ctx_st SSL_CTX;
^
In file included from /usr/local/include/boost/asio/ssl/context.hpp:786:0,
from /usr/local/include/boost/asio/ssl.hpp:19,
from /home/ubuntu/Vikas/Test/crow/include/crow/socket_adaptors.h:4,
from /home/ubuntu/Vikas/Test/crow/include/crow.h:7,
from /home/ubuntu/Vikas/Test/crow/examples/ssl/example_ssl.cpp:2:
/usr/local/include/boost/asio/ssl/impl/context.ipp:645:18: error: invalid use of incomplete type ‘SSL_CTX {aka struct ssl_ctx_st}’
handle_->default_passwd_callback_userdata);
^
In file included from /usr/local/include/openssl/crypto.h:25:0,
from /usr/local/include/openssl/bio.h:20,
from /usr/local/include/openssl/conf.h:13,
from /usr/local/include/boost/asio/ssl/detail/openssl_types.hpp:19,
from /usr/local/include/boost/asio/ssl/context_base.hpp:19,
from /usr/local/include/boost/asio/ssl/context.hpp:27,
from /usr/local/include/boost/asio/ssl.hpp:19,
from /home/ubuntu/Vikas/Test/crow/include/crow/socket_adaptors.h:4,
from /home/ubuntu/Vikas/Test/crow/include/crow.h:7,
from /home/ubuntu/Vikas/Test/crow/examples/ssl/example_ssl.cpp:2:
/usr/local/include/openssl/ossl_typ.h:149:16: note: forward declaration of ‘SSL_CTX {aka struct ssl_ctx_st}’
typedef struct ssl_ctx_st SSL_CTX;
^
In file included from /usr/local/include/boost/asio/ssl/context.hpp:786:0,
from /usr/local/include/boost/asio/ssl.hpp:19,
from /home/ubuntu/Vikas/Test/crow/include/crow/socket_adaptors.h:4,
from /home/ubuntu/Vikas/Test/crow/include/crow.h:7,
from /home/ubuntu/Vikas/Test/crow/examples/ssl/example_ssl.cpp:2:
/usr/local/include/boost/asio/ssl/impl/context.ipp: In member function ‘boost::system::error_code boost::asio::ssl::context::use_rsa_private_key(const boost::asio::const_buffer&, boost::asio::ssl::context_base::file_format, boost::system::error_code&)’:
/usr/local/include/boost/asio/ssl/impl/context.ipp:703:28: error: invalid use of incomplete type ‘SSL_CTX {aka struct ssl_ctx_st}’
bio.p, 0, handle_->default_passwd_callback,
^
In file included from /usr/local/include/openssl/crypto.h:25:0,
from /usr/local/include/openssl/bio.h:20,
from /usr/local/include/openssl/conf.h:13,
from /usr/local/include/boost/asio/ssl/detail/openssl_types.hpp:19,
from /usr/local/include/boost/asio/ssl/context_base.hpp:19,
from /usr/local/include/boost/asio/ssl/context.hpp:27,
from /usr/local/include/boost/asio/ssl.hpp:19,
from /home/ubuntu/Vikas/Test/crow/include/crow/socket_adaptors.h:4,
from /home/ubuntu/Vikas/Test/crow/include/crow.h:7,
from /home/ubuntu/Vikas/Test/crow/examples/ssl/example_ssl.cpp:2:
/usr/local/include/openssl/ossl_typ.h:149:16: note: forward declaration of ‘SSL_CTX {aka struct ssl_ctx_st}’
typedef struct ssl_ctx_st SSL_CTX;
^
In file included from /usr/local/include/boost/asio/ssl/context.hpp:786:0,
from /usr/local/include/boost/asio/ssl.hpp:19,
from /home/ubuntu/Vikas/Test/crow/include/crow/socket_adaptors.h:4,
from /home/ubuntu/Vikas/Test/crow/include/crow.h:7,
from /home/ubuntu/Vikas/Test/crow/examples/ssl/example_ssl.cpp:2:
/usr/local/include/boost/asio/ssl/impl/context.ipp:704:18: error: invalid use of incomplete type ‘SSL_CTX {aka struct ssl_ctx_st}’
handle_->default_passwd_callback_userdata);
^
In file included from /usr/local/include/openssl/crypto.h:25:0,
from /usr/local/include/openssl/bio.h:20,
from /usr/local/include/openssl/conf.h:13,
from /usr/local/include/boost/asio/ssl/detail/openssl_types.hpp:19,
from /usr/local/include/boost/asio/ssl/context_base.hpp:19,
from /usr/local/include/boost/asio/ssl/context.hpp:27,
from /usr/local/include/boost/asio/ssl.hpp:19,
from /home/ubuntu/Vikas/Test/crow/include/crow/socket_adaptors.h:4,
from /home/ubuntu/Vikas/Test/crow/include/crow.h:7,
from /home/ubuntu/Vikas/Test/crow/examples/ssl/example_ssl.cpp:2:
/usr/local/include/openssl/ossl_typ.h:149:16: note: forward declaration of ‘SSL_CTX {aka struct ssl_ctx_st}’
typedef struct ssl_ctx_st SSL_CTX;
^
In file included from /usr/local/include/boost/asio/ssl/context.hpp:786:0,
from /usr/local/include/boost/asio/ssl.hpp:19,
from /home/ubuntu/Vikas/Test/crow/include/crow/socket_adaptors.h:4,
from /home/ubuntu/Vikas/Test/crow/include/crow.h:7,
from /home/ubuntu/Vikas/Test/crow/examples/ssl/example_ssl.cpp:2:
/usr/local/include/boost/asio/ssl/impl/context.ipp: In member function ‘boost::system::error_code boost::asio::ssl::context::do_set_password_callback(boost::asio::ssl::detail::password_callback_base*, boost::system::error_code&)’:
/usr/local/include/boost/asio/ssl/impl/context.ipp:923:14: error: invalid use of incomplete type ‘SSL_CTX {aka struct ssl_ctx_st}’
if (handle_->default_passwd_callback_userdata)
^
In file included from /usr/local/include/openssl/crypto.h:25:0,
from /usr/local/include/openssl/bio.h:20,
from /usr/local/include/openssl/conf.h:13,
from /usr/local/include/boost/asio/ssl/detail/openssl_types.hpp:19,
from /usr/local/include/boost/asio/ssl/context_base.hpp:19,
from /usr/local/include/boost/asio/ssl/context.hpp:27,
from /usr/local/include/boost/asio/ssl.hpp:19,
from /home/ubuntu/Vikas/Test/crow/include/crow/socket_adaptors.h:4,
from /home/ubuntu/Vikas/Test/crow/include/crow.h:7,
from /home/ubuntu/Vikas/Test/crow/examples/ssl/example_ssl.cpp:2:
/usr/local/include/openssl/ossl_typ.h:149:16: note: forward declaration of ‘SSL_CTX {aka struct ssl_ctx_st}’
typedef struct ssl_ctx_st SSL_CTX;
^
In file included from /usr/local/include/boost/asio/ssl/context.hpp:786:0,
from /usr/local/include/boost/asio/ssl.hpp:19,
from /home/ubuntu/Vikas/Test/crow/include/crow/socket_adaptors.h:4,
from /home/ubuntu/Vikas/Test/crow/include/crow.h:7,
from /home/ubuntu/Vikas/Test/crow/examples/ssl/example_ssl.cpp:2:
/usr/local/include/boost/asio/ssl/impl/context.ipp:925:16: error: invalid use of incomplete type ‘SSL_CTX {aka struct ssl_ctx_st}’
handle_->default_passwd_callback_userdata);
^
In file included from /usr/local/include/openssl/crypto.h:25:0,
from /usr/local/include/openssl/bio.h:20,
from /usr/local/include/openssl/conf.h:13,
from /usr/local/include/boost/asio/ssl/detail/openssl_types.hpp:19,
from /usr/local/include/boost/asio/ssl/context_base.hpp:19,
from /usr/local/include/boost/asio/ssl/context.hpp:27,
from /usr/local/include/boost/asio/ssl.hpp:19,
from /home/ubuntu/Vikas/Test/crow/include/crow/socket_adaptors.h:4,
from /home/ubuntu/Vikas/Test/crow/include/crow.h:7,
from /home/ubuntu/Vikas/Test/crow/examples/ssl/example_ssl.cpp:2:
/usr/local/include/openssl/ossl_typ.h:149:16: note: forward declaration of ‘SSL_CTX {aka struct ssl_ctx_st}’
typedef struct ssl_ctx_st SSL_CTX;
^
In file included from /usr/local/include/boost/asio/ssl/context.hpp:786:0,
from /usr/local/include/boost/asio/ssl.hpp:19,
from /home/ubuntu/Vikas/Test/crow/include/crow/socket_adaptors.h:4,
from /home/ubuntu/Vikas/Test/crow/include/crow.h:7,
from /home/ubuntu/Vikas/Test/crow/examples/ssl/example_ssl.cpp:2:
/usr/local/include/boost/asio/ssl/impl/context.ipp:927:10: error: invalid use of incomplete type ‘SSL_CTX {aka struct ssl_ctx_st}’
handle_->default_passwd_callback_userdata = callback;
^
In file included from /usr/local/include/openssl/crypto.h:25:0,
from /usr/local/include/openssl/bio.h:20,
from /usr/local/include/openssl/conf.h:13,
from /usr/local/include/boost/asio/ssl/detail/openssl_types.hpp:19,
from /usr/local/include/boost/asio/ssl/context_base.hpp:19,
from /usr/local/include/boost/asio/ssl/context.hpp:27,
from /usr/local/include/boost/asio/ssl.hpp:19,
from /home/ubuntu/Vikas/Test/crow/include/crow/socket_adaptors.h:4,
from /home/ubuntu/Vikas/Test/crow/include/crow.h:7,
from /home/ubuntu/Vikas/Test/crow/examples/ssl/example_ssl.cpp:2:
/usr/local/include/openssl/ossl_typ.h:149:16: note: forward declaration of ‘SSL_CTX {aka struct ssl_ctx_st}’
typedef struct ssl_ctx_st SSL_CTX;
^
In file included from /usr/local/include/openssl/engine.h:25:0,
from /usr/local/include/boost/asio/ssl/detail/openssl_types.hpp:22,
from /usr/local/include/boost/asio/ssl/context_base.hpp:19,
from /usr/local/include/boost/asio/ssl/context.hpp:27,
from /usr/local/include/boost/asio/ssl.hpp:19,
from /home/ubuntu/Vikas/Test/crow/include/crow/socket_adaptors.h:4,
from /home/ubuntu/Vikas/Test/crow/include/crow.h:7,
from /home/ubuntu/Vikas/Test/crow/examples/ssl/example_ssl.cpp:2:
/usr/local/include/boost/asio/ssl/detail/impl/engine.ipp: In member function ‘const boost::system::error_code& boost::asio::ssl::detail::engine::map_error_code(boost::system::error_code&) const’:
/usr/local/include/boost/asio/ssl/detail/impl/engine.ipp:207:9: error: ‘SSL_R_SHORT_READ’ was not declared in this scope
ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SHORT_READ),
^
In file included from /usr/local/include/boost/asio/ssl/detail/engine.hpp:163:0,
from /usr/local/include/boost/asio/ssl/detail/buffered_handshake_op.hpp:21,
from /usr/local/include/boost/asio/ssl/stream.hpp:29,
from /usr/local/include/boost/asio/ssl.hpp:24,
from /home/ubuntu/Vikas/Test/crow/include/crow/socket_adaptors.h:4,
from /home/ubuntu/Vikas/Test/crow/include/crow.h:7,
from /home/ubuntu/Vikas/Test/crow/examples/ssl/example_ssl.cpp:2:
/usr/local/include/boost/asio/ssl/detail/impl/engine.ipp:214:11: error: invalid use of incomplete type ‘SSL {aka struct ssl_st}’
if (ssl_->version == SSL2_VERSION)
^
In file included from /usr/local/include/openssl/crypto.h:25:0,
from /usr/local/include/openssl/bio.h:20,
from /usr/local/include/openssl/conf.h:13,
from /usr/local/include/boost/asio/ssl/detail/openssl_types.hpp:19,
from /usr/local/include/boost/asio/ssl/context_base.hpp:19,
from /usr/local/include/boost/asio/ssl/context.hpp:27,
from /usr/local/include/boost/asio/ssl.hpp:19,
from /home/ubuntu/Vikas/Test/crow/include/crow/socket_adaptors.h:4,
from /home/ubuntu/Vikas/Test/crow/include/crow.h:7,
from /home/ubuntu/Vikas/Test/crow/examples/ssl/example_ssl.cpp:2:
/usr/local/include/openssl/ossl_typ.h:148:16: note: forward declaration of ‘SSL {aka struct ssl_st}’
typedef struct ssl_st SSL;
^
In file included from /usr/local/include/openssl/engine.h:25:0,
from /usr/local/include/boost/asio/ssl/detail/openssl_types.hpp:22,
from /usr/local/include/boost/asio/ssl/context_base.hpp:19,
from /usr/local/include/boost/asio/ssl/context.hpp:27,
from /usr/local/include/boost/asio/ssl.hpp:19,
from /home/ubuntu/Vikas/Test/crow/include/crow/socket_adaptors.h:4,
from /home/ubuntu/Vikas/Test/crow/include/crow.h:7,
from /home/ubuntu/Vikas/Test/crow/examples/ssl/example_ssl.cpp:2:
/usr/local/include/boost/asio/ssl/detail/impl/engine.ipp:221:9: error: ‘SSL_R_SHORT_READ’ was not declared in this scope
ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SHORT_READ),
^
examples/CMakeFiles/example_ssl.dir/build.make:75: recipe for target 'examples/CMakeFiles/example_ssl.dir/ssl/example_ssl.cpp.o' failed
make[2]: *** [examples/CMakeFiles/example_ssl.dir/ssl/example_ssl.cpp.o] Error 1
CMakeFiles/Makefile2:204: recipe for target 'examples/CMakeFiles/example_ssl.dir/all' failed
make[1]: *** [examples/CMakeFiles/example_ssl.dir/all] Error 2
Makefile:100: recipe for target 'all' failed
make: *** [all] Error 2
The text was updated successfully, but these errors were encountered:
boost versio : BOOST_LIB_VERSION "1_58"
openssl version : openssl 1.1.1 g
In file included from /usr/local/include/openssl/bio.h:20:0,
from /usr/local/include/openssl/conf.h:13,
from /usr/local/include/boost/asio/ssl/detail/openssl_types.hpp:19,
from /usr/local/include/boost/asio/ssl/context_base.hpp:19,
from /usr/local/include/boost/asio/ssl/context.hpp:27,
from /usr/local/include/boost/asio/ssl.hpp:19,
from /home/ubuntu/Vikas/Test/crow/include/crow/socket_adaptors.h:4,
from /home/ubuntu/Vikas/Test/crow/include/crow.h:7,
from /home/ubuntu/Vikas/Test/crow/examples/ssl/example_ssl.cpp:2:
/usr/local/include/boost/asio/ssl/detail/impl/openssl_init.ipp: In constructor ‘boost::asio::ssl::detail::openssl_init_base::do_init::do_init()’:
/usr/local/include/boost/asio/ssl/detail/impl/openssl_init.ipp:43:23: error: expected id-expression before ‘(’ token
mutexes_.resize(::CRYPTO_num_locks());
^
In file included from /usr/local/include/boost/asio/ssl/detail/openssl_init.hpp:100:0,
from /usr/local/include/boost/asio/ssl/context.hpp:29,
from /usr/local/include/boost/asio/ssl.hpp:19,
from /home/ubuntu/Vikas/Test/crow/include/crow/socket_adaptors.h:4,
from /home/ubuntu/Vikas/Test/crow/include/crow.h:7,
from /home/ubuntu/Vikas/Test/crow/examples/ssl/example_ssl.cpp:2:
/usr/local/include/boost/asio/ssl/detail/impl/openssl_init.ipp:46:66: error: expected id-expression before ‘;’ token
::CRYPTO_set_locking_callback(&do_init::openssl_locking_func);
^
/usr/local/include/boost/asio/ssl/detail/impl/openssl_init.ipp:47:56: error: expected id-expression before ‘;’ token
::CRYPTO_set_id_callback(&do_init::openssl_id_func);
^
/usr/local/include/boost/asio/ssl/detail/impl/openssl_init.ipp: In destructor ‘boost::asio::ssl::detail::openssl_init_base::do_init::~do_init()’:
/usr/local/include/boost/asio/ssl/detail/impl/openssl_init.ipp:64:32: error: expected id-expression before ‘;’ token
::CRYPTO_set_id_callback(0);
^
/usr/local/include/boost/asio/ssl/detail/impl/openssl_init.ipp:65:37: error: expected id-expression before ‘;’ token
::CRYPTO_set_locking_callback(0);
^
In file included from /usr/local/include/openssl/engine.h:25:0,
from /usr/local/include/boost/asio/ssl/detail/openssl_types.hpp:22,
from /usr/local/include/boost/asio/ssl/context_base.hpp:19,
from /usr/local/include/boost/asio/ssl/context.hpp:27,
from /usr/local/include/boost/asio/ssl.hpp:19,
from /home/ubuntu/Vikas/Test/crow/include/crow/socket_adaptors.h:4,
from /home/ubuntu/Vikas/Test/crow/include/crow.h:7,
from /home/ubuntu/Vikas/Test/crow/examples/ssl/example_ssl.cpp:2:
/usr/local/include/boost/asio/ssl/detail/impl/openssl_init.ipp:66:7: error: expected id-expression before ‘while’
::ERR_free_strings();
^
In file included from /usr/local/include/openssl/x509.h:18:0,
from /usr/local/include/openssl/ssl.h:20,
from /usr/local/include/boost/asio/ssl/detail/openssl_types.hpp:20,
from /usr/local/include/boost/asio/ssl/context_base.hpp:19,
from /usr/local/include/boost/asio/ssl/context.hpp:27,
from /usr/local/include/boost/asio/ssl.hpp:19,
from /home/ubuntu/Vikas/Test/crow/include/crow/socket_adaptors.h:4,
from /home/ubuntu/Vikas/Test/crow/include/crow.h:7,
from /home/ubuntu/Vikas/Test/crow/examples/ssl/example_ssl.cpp:2:
/usr/local/include/boost/asio/ssl/detail/impl/openssl_init.ipp:72:7: error: expected id-expression before ‘while’
::EVP_cleanup();
^
In file included from /usr/local/include/openssl/bio.h:20:0,
from /usr/local/include/openssl/conf.h:13,
from /usr/local/include/boost/asio/ssl/detail/openssl_types.hpp:19,
from /usr/local/include/boost/asio/ssl/context_base.hpp:19,
from /usr/local/include/boost/asio/ssl/context.hpp:27,
from /usr/local/include/boost/asio/ssl.hpp:19,
from /home/ubuntu/Vikas/Test/crow/include/crow/socket_adaptors.h:4,
from /home/ubuntu/Vikas/Test/crow/include/crow.h:7,
from /home/ubuntu/Vikas/Test/crow/examples/ssl/example_ssl.cpp:2:
/usr/local/include/boost/asio/ssl/detail/impl/openssl_init.ipp:73:7: error: expected id-expression before ‘while’
::CRYPTO_cleanup_all_ex_data();
^
In file included from /usr/local/include/boost/asio/ssl/detail/openssl_types.hpp:22:0,
from /usr/local/include/boost/asio/ssl/context_base.hpp:19,
from /usr/local/include/boost/asio/ssl/context.hpp:27,
from /usr/local/include/boost/asio/ssl.hpp:19,
from /home/ubuntu/Vikas/Test/crow/include/crow/socket_adaptors.h:4,
from /home/ubuntu/Vikas/Test/crow/include/crow.h:7,
from /home/ubuntu/Vikas/Test/crow/examples/ssl/example_ssl.cpp:2:
/usr/local/include/boost/asio/ssl/detail/impl/openssl_init.ipp:76:7: error: expected id-expression before ‘while’
::ENGINE_cleanup();
^
In file included from /usr/local/include/boost/asio/ssl/context.hpp:786:0,
from /usr/local/include/boost/asio/ssl.hpp:19,
from /home/ubuntu/Vikas/Test/crow/include/crow/socket_adaptors.h:4,
from /home/ubuntu/Vikas/Test/crow/include/crow.h:7,
from /home/ubuntu/Vikas/Test/crow/examples/ssl/example_ssl.cpp:2:
/usr/local/include/boost/asio/ssl/impl/context.ipp: In constructor ‘boost::asio::ssl::context::context(boost::asio::ssl::context_base::method)’:
/usr/local/include/boost/asio/ssl/impl/context.ipp:83:29: error: ‘::SSLv2_method’ has not been declared
handle_ = ::SSL_CTX_new(::SSLv2_method());
^
/usr/local/include/boost/asio/ssl/impl/context.ipp:86:29: error: ‘::SSLv2_client_method’ has not been declared
handle_ = ::SSL_CTX_new(::SSLv2_client_method());
^
/usr/local/include/boost/asio/ssl/impl/context.ipp:89:29: error: ‘::SSLv2_server_method’ has not been declared
handle_ = ::SSL_CTX_new(::SSLv2_server_method());
^
/usr/local/include/boost/asio/ssl/impl/context.ipp:93:29: error: ‘::SSLv3_method’ has not been declared
handle_ = ::SSL_CTX_new(::SSLv3_method());
^
/usr/local/include/boost/asio/ssl/impl/context.ipp:96:29: error: ‘::SSLv3_client_method’ has not been declared
handle_ = ::SSL_CTX_new(::SSLv3_client_method());
^
/usr/local/include/boost/asio/ssl/impl/context.ipp:99:29: error: ‘::SSLv3_server_method’ has not been declared
handle_ = ::SSL_CTX_new(::SSLv3_server_method());
^
/usr/local/include/boost/asio/ssl/impl/context.ipp: In destructor ‘boost::asio::ssl::context::~context()’:
/usr/local/include/boost/asio/ssl/impl/context.ipp:199:16: error: invalid use of incomplete type ‘SSL_CTX {aka struct ssl_ctx_st}’
if (handle_->default_passwd_callback_userdata)
^
In file included from /usr/local/include/openssl/crypto.h:25:0,
from /usr/local/include/openssl/bio.h:20,
from /usr/local/include/openssl/conf.h:13,
from /usr/local/include/boost/asio/ssl/detail/openssl_types.hpp:19,
from /usr/local/include/boost/asio/ssl/context_base.hpp:19,
from /usr/local/include/boost/asio/ssl/context.hpp:27,
from /usr/local/include/boost/asio/ssl.hpp:19,
from /home/ubuntu/Vikas/Test/crow/include/crow/socket_adaptors.h:4,
from /home/ubuntu/Vikas/Test/crow/include/crow.h:7,
from /home/ubuntu/Vikas/Test/crow/examples/ssl/example_ssl.cpp:2:
/usr/local/include/openssl/ossl_typ.h:149:16: note: forward declaration of ‘SSL_CTX {aka struct ssl_ctx_st}’
typedef struct ssl_ctx_st SSL_CTX;
^
In file included from /usr/local/include/boost/asio/ssl/context.hpp:786:0,
from /usr/local/include/boost/asio/ssl.hpp:19,
from /home/ubuntu/Vikas/Test/crow/include/crow/socket_adaptors.h:4,
from /home/ubuntu/Vikas/Test/crow/include/crow.h:7,
from /home/ubuntu/Vikas/Test/crow/examples/ssl/example_ssl.cpp:2:
/usr/local/include/boost/asio/ssl/impl/context.ipp:203:20: error: invalid use of incomplete type ‘SSL_CTX {aka struct ssl_ctx_st}’
handle_->default_passwd_callback_userdata);
^
In file included from /usr/local/include/openssl/crypto.h:25:0,
from /usr/local/include/openssl/bio.h:20,
from /usr/local/include/openssl/conf.h:13,
from /usr/local/include/boost/asio/ssl/detail/openssl_types.hpp:19,
from /usr/local/include/boost/asio/ssl/context_base.hpp:19,
from /usr/local/include/boost/asio/ssl/context.hpp:27,
from /usr/local/include/boost/asio/ssl.hpp:19,
from /home/ubuntu/Vikas/Test/crow/include/crow/socket_adaptors.h:4,
from /home/ubuntu/Vikas/Test/crow/include/crow.h:7,
from /home/ubuntu/Vikas/Test/crow/examples/ssl/example_ssl.cpp:2:
/usr/local/include/openssl/ossl_typ.h:149:16: note: forward declaration of ‘SSL_CTX {aka struct ssl_ctx_st}’
typedef struct ssl_ctx_st SSL_CTX;
^
In file included from /usr/local/include/boost/asio/ssl/context.hpp:786:0,
from /usr/local/include/boost/asio/ssl.hpp:19,
from /home/ubuntu/Vikas/Test/crow/include/crow/socket_adaptors.h:4,
from /home/ubuntu/Vikas/Test/crow/include/crow.h:7,
from /home/ubuntu/Vikas/Test/crow/examples/ssl/example_ssl.cpp:2:
/usr/local/include/boost/asio/ssl/impl/context.ipp:205:14: error: invalid use of incomplete type ‘SSL_CTX {aka struct ssl_ctx_st}’
handle_->default_passwd_callback_userdata = 0;
^
In file included from /usr/local/include/openssl/crypto.h:25:0,
from /usr/local/include/openssl/bio.h:20,
from /usr/local/include/openssl/conf.h:13,
from /usr/local/include/boost/asio/ssl/detail/openssl_types.hpp:19,
from /usr/local/include/boost/asio/ssl/context_base.hpp:19,
from /usr/local/include/boost/asio/ssl/context.hpp:27,
from /usr/local/include/boost/asio/ssl.hpp:19,
from /home/ubuntu/Vikas/Test/crow/include/crow/socket_adaptors.h:4,
from /home/ubuntu/Vikas/Test/crow/include/crow.h:7,
from /home/ubuntu/Vikas/Test/crow/examples/ssl/example_ssl.cpp:2:
/usr/local/include/openssl/ossl_typ.h:149:16: note: forward declaration of ‘SSL_CTX {aka struct ssl_ctx_st}’
typedef struct ssl_ctx_st SSL_CTX;
^
In file included from /usr/local/include/boost/asio/ssl/context.hpp:786:0,
from /usr/local/include/boost/asio/ssl.hpp:19,
from /home/ubuntu/Vikas/Test/crow/include/crow/socket_adaptors.h:4,
from /home/ubuntu/Vikas/Test/crow/include/crow.h:7,
from /home/ubuntu/Vikas/Test/crow/examples/ssl/example_ssl.cpp:2:
/usr/local/include/boost/asio/ssl/impl/context.ipp: In member function ‘boost::system::error_code boost::asio::ssl::context::use_certificate_chain(const boost::asio::const_buffer&, boost::system::error_code&)’:
/usr/local/include/boost/asio/ssl/impl/context.ipp:542:18: error: invalid use of incomplete type ‘SSL_CTX {aka struct ssl_ctx_st}’
handle_->default_passwd_callback,
^
In file included from /usr/local/include/openssl/crypto.h:25:0,
from /usr/local/include/openssl/bio.h:20,
from /usr/local/include/openssl/conf.h:13,
from /usr/local/include/boost/asio/ssl/detail/openssl_types.hpp:19,
from /usr/local/include/boost/asio/ssl/context_base.hpp:19,
from /usr/local/include/boost/asio/ssl/context.hpp:27,
from /usr/local/include/boost/asio/ssl.hpp:19,
from /home/ubuntu/Vikas/Test/crow/include/crow/socket_adaptors.h:4,
from /home/ubuntu/Vikas/Test/crow/include/crow.h:7,
from /home/ubuntu/Vikas/Test/crow/examples/ssl/example_ssl.cpp:2:
/usr/local/include/openssl/ossl_typ.h:149:16: note: forward declaration of ‘SSL_CTX {aka struct ssl_ctx_st}’
typedef struct ssl_ctx_st SSL_CTX;
^
In file included from /usr/local/include/boost/asio/ssl/context.hpp:786:0,
from /usr/local/include/boost/asio/ssl.hpp:19,
from /home/ubuntu/Vikas/Test/crow/include/crow/socket_adaptors.h:4,
from /home/ubuntu/Vikas/Test/crow/include/crow.h:7,
from /home/ubuntu/Vikas/Test/crow/examples/ssl/example_ssl.cpp:2:
/usr/local/include/boost/asio/ssl/impl/context.ipp:543:18: error: invalid use of incomplete type ‘SSL_CTX {aka struct ssl_ctx_st}’
handle_->default_passwd_callback_userdata) };
^
In file included from /usr/local/include/openssl/crypto.h:25:0,
from /usr/local/include/openssl/bio.h:20,
from /usr/local/include/openssl/conf.h:13,
from /usr/local/include/boost/asio/ssl/detail/openssl_types.hpp:19,
from /usr/local/include/boost/asio/ssl/context_base.hpp:19,
from /usr/local/include/boost/asio/ssl/context.hpp:27,
from /usr/local/include/boost/asio/ssl.hpp:19,
from /home/ubuntu/Vikas/Test/crow/include/crow/socket_adaptors.h:4,
from /home/ubuntu/Vikas/Test/crow/include/crow.h:7,
from /home/ubuntu/Vikas/Test/crow/examples/ssl/example_ssl.cpp:2:
/usr/local/include/openssl/ossl_typ.h:149:16: note: forward declaration of ‘SSL_CTX {aka struct ssl_ctx_st}’
typedef struct ssl_ctx_st SSL_CTX;
^
In file included from /usr/local/include/boost/asio/ssl/context.hpp:786:0,
from /usr/local/include/boost/asio/ssl.hpp:19,
from /home/ubuntu/Vikas/Test/crow/include/crow/socket_adaptors.h:4,
from /home/ubuntu/Vikas/Test/crow/include/crow.h:7,
from /home/ubuntu/Vikas/Test/crow/examples/ssl/example_ssl.cpp:2:
/usr/local/include/boost/asio/ssl/impl/context.ipp:560:16: error: invalid use of incomplete type ‘SSL_CTX {aka struct ssl_ctx_st}’
if (handle_->extra_certs)
^
In file included from /usr/local/include/openssl/crypto.h:25:0,
from /usr/local/include/openssl/bio.h:20,
from /usr/local/include/openssl/conf.h:13,
from /usr/local/include/boost/asio/ssl/detail/openssl_types.hpp:19,
from /usr/local/include/boost/asio/ssl/context_base.hpp:19,
from /usr/local/include/boost/asio/ssl/context.hpp:27,
from /usr/local/include/boost/asio/ssl.hpp:19,
from /home/ubuntu/Vikas/Test/crow/include/crow/socket_adaptors.h:4,
from /home/ubuntu/Vikas/Test/crow/include/crow.h:7,
from /home/ubuntu/Vikas/Test/crow/examples/ssl/example_ssl.cpp:2:
/usr/local/include/openssl/ossl_typ.h:149:16: note: forward declaration of ‘SSL_CTX {aka struct ssl_ctx_st}’
typedef struct ssl_ctx_st SSL_CTX;
^
In file included from /usr/local/include/boost/asio/ssl/context.hpp:786:0,
from /usr/local/include/boost/asio/ssl.hpp:19,
from /home/ubuntu/Vikas/Test/crow/include/crow/socket_adaptors.h:4,
from /home/ubuntu/Vikas/Test/crow/include/crow.h:7,
from /home/ubuntu/Vikas/Test/crow/examples/ssl/example_ssl.cpp:2:
/usr/local/include/boost/asio/ssl/impl/context.ipp:562:33: error: invalid use of incomplete type ‘SSL_CTX {aka struct ssl_ctx_st}’
::sk_X509_pop_free(handle_->extra_certs, X509_free);
^
In file included from /usr/local/include/openssl/crypto.h:25:0,
from /usr/local/include/openssl/bio.h:20,
from /usr/local/include/openssl/conf.h:13,
from /usr/local/include/boost/asio/ssl/detail/openssl_types.hpp:19,
from /usr/local/include/boost/asio/ssl/context_base.hpp:19,
from /usr/local/include/boost/asio/ssl/context.hpp:27,
from /usr/local/include/boost/asio/ssl.hpp:19,
from /home/ubuntu/Vikas/Test/crow/include/crow/socket_adaptors.h:4,
from /home/ubuntu/Vikas/Test/crow/include/crow.h:7,
from /home/ubuntu/Vikas/Test/crow/examples/ssl/example_ssl.cpp:2:
/usr/local/include/openssl/ossl_typ.h:149:16: note: forward declaration of ‘SSL_CTX {aka struct ssl_ctx_st}’
typedef struct ssl_ctx_st SSL_CTX;
^
In file included from /usr/local/include/boost/asio/ssl/context.hpp:786:0,
from /usr/local/include/boost/asio/ssl.hpp:19,
from /home/ubuntu/Vikas/Test/crow/include/crow/socket_adaptors.h:4,
from /home/ubuntu/Vikas/Test/crow/include/crow.h:7,
from /home/ubuntu/Vikas/Test/crow/examples/ssl/example_ssl.cpp:2:
/usr/local/include/boost/asio/ssl/impl/context.ipp:563:14: error: invalid use of incomplete type ‘SSL_CTX {aka struct ssl_ctx_st}’
handle_->extra_certs = 0;
^
In file included from /usr/local/include/openssl/crypto.h:25:0,
from /usr/local/include/openssl/bio.h:20,
from /usr/local/include/openssl/conf.h:13,
from /usr/local/include/boost/asio/ssl/detail/openssl_types.hpp:19,
from /usr/local/include/boost/asio/ssl/context_base.hpp:19,
from /usr/local/include/boost/asio/ssl/context.hpp:27,
from /usr/local/include/boost/asio/ssl.hpp:19,
from /home/ubuntu/Vikas/Test/crow/include/crow/socket_adaptors.h:4,
from /home/ubuntu/Vikas/Test/crow/include/crow.h:7,
from /home/ubuntu/Vikas/Test/crow/examples/ssl/example_ssl.cpp:2:
/usr/local/include/openssl/ossl_typ.h:149:16: note: forward declaration of ‘SSL_CTX {aka struct ssl_ctx_st}’
typedef struct ssl_ctx_st SSL_CTX;
^
In file included from /usr/local/include/boost/asio/ssl/context.hpp:786:0,
from /usr/local/include/boost/asio/ssl.hpp:19,
from /home/ubuntu/Vikas/Test/crow/include/crow/socket_adaptors.h:4,
from /home/ubuntu/Vikas/Test/crow/include/crow.h:7,
from /home/ubuntu/Vikas/Test/crow/examples/ssl/example_ssl.cpp:2:
/usr/local/include/boost/asio/ssl/impl/context.ipp:567:18: error: invalid use of incomplete type ‘SSL_CTX {aka struct ssl_ctx_st}’
handle_->default_passwd_callback,
^
In file included from /usr/local/include/openssl/crypto.h:25:0,
from /usr/local/include/openssl/bio.h:20,
from /usr/local/include/openssl/conf.h:13,
from /usr/local/include/boost/asio/ssl/detail/openssl_types.hpp:19,
from /usr/local/include/boost/asio/ssl/context_base.hpp:19,
from /usr/local/include/boost/asio/ssl/context.hpp:27,
from /usr/local/include/boost/asio/ssl.hpp:19,
from /home/ubuntu/Vikas/Test/crow/include/crow/socket_adaptors.h:4,
from /home/ubuntu/Vikas/Test/crow/include/crow.h:7,
from /home/ubuntu/Vikas/Test/crow/examples/ssl/example_ssl.cpp:2:
/usr/local/include/openssl/ossl_typ.h:149:16: note: forward declaration of ‘SSL_CTX {aka struct ssl_ctx_st}’
typedef struct ssl_ctx_st SSL_CTX;
^
In file included from /usr/local/include/boost/asio/ssl/context.hpp:786:0,
from /usr/local/include/boost/asio/ssl.hpp:19,
from /home/ubuntu/Vikas/Test/crow/include/crow/socket_adaptors.h:4,
from /home/ubuntu/Vikas/Test/crow/include/crow.h:7,
from /home/ubuntu/Vikas/Test/crow/examples/ssl/example_ssl.cpp:2:
/usr/local/include/boost/asio/ssl/impl/context.ipp:568:18: error: invalid use of incomplete type ‘SSL_CTX {aka struct ssl_ctx_st}’
handle_->default_passwd_callback_userdata))
^
In file included from /usr/local/include/openssl/crypto.h:25:0,
from /usr/local/include/openssl/bio.h:20,
from /usr/local/include/openssl/conf.h:13,
from /usr/local/include/boost/asio/ssl/detail/openssl_types.hpp:19,
from /usr/local/include/boost/asio/ssl/context_base.hpp:19,
from /usr/local/include/boost/asio/ssl/context.hpp:27,
from /usr/local/include/boost/asio/ssl.hpp:19,
from /home/ubuntu/Vikas/Test/crow/include/crow/socket_adaptors.h:4,
from /home/ubuntu/Vikas/Test/crow/include/crow.h:7,
from /home/ubuntu/Vikas/Test/crow/examples/ssl/example_ssl.cpp:2:
/usr/local/include/openssl/ossl_typ.h:149:16: note: forward declaration of ‘SSL_CTX {aka struct ssl_ctx_st}’
typedef struct ssl_ctx_st SSL_CTX;
^
In file included from /usr/local/include/boost/asio/ssl/context.hpp:786:0,
from /usr/local/include/boost/asio/ssl.hpp:19,
from /home/ubuntu/Vikas/Test/crow/include/crow/socket_adaptors.h:4,
from /home/ubuntu/Vikas/Test/crow/include/crow.h:7,
from /home/ubuntu/Vikas/Test/crow/examples/ssl/example_ssl.cpp:2:
/usr/local/include/boost/asio/ssl/impl/context.ipp: In member function ‘boost::system::error_code boost::asio::ssl::context::use_private_key(const boost::asio::const_buffer&, boost::asio::ssl::context_base::file_format, boost::system::error_code&)’:
/usr/local/include/boost/asio/ssl/impl/context.ipp:644:28: error: invalid use of incomplete type ‘SSL_CTX {aka struct ssl_ctx_st}’
bio.p, 0, handle_->default_passwd_callback,
^
In file included from /usr/local/include/openssl/crypto.h:25:0,
from /usr/local/include/openssl/bio.h:20,
from /usr/local/include/openssl/conf.h:13,
from /usr/local/include/boost/asio/ssl/detail/openssl_types.hpp:19,
from /usr/local/include/boost/asio/ssl/context_base.hpp:19,
from /usr/local/include/boost/asio/ssl/context.hpp:27,
from /usr/local/include/boost/asio/ssl.hpp:19,
from /home/ubuntu/Vikas/Test/crow/include/crow/socket_adaptors.h:4,
from /home/ubuntu/Vikas/Test/crow/include/crow.h:7,
from /home/ubuntu/Vikas/Test/crow/examples/ssl/example_ssl.cpp:2:
/usr/local/include/openssl/ossl_typ.h:149:16: note: forward declaration of ‘SSL_CTX {aka struct ssl_ctx_st}’
typedef struct ssl_ctx_st SSL_CTX;
^
In file included from /usr/local/include/boost/asio/ssl/context.hpp:786:0,
from /usr/local/include/boost/asio/ssl.hpp:19,
from /home/ubuntu/Vikas/Test/crow/include/crow/socket_adaptors.h:4,
from /home/ubuntu/Vikas/Test/crow/include/crow.h:7,
from /home/ubuntu/Vikas/Test/crow/examples/ssl/example_ssl.cpp:2:
/usr/local/include/boost/asio/ssl/impl/context.ipp:645:18: error: invalid use of incomplete type ‘SSL_CTX {aka struct ssl_ctx_st}’
handle_->default_passwd_callback_userdata);
^
In file included from /usr/local/include/openssl/crypto.h:25:0,
from /usr/local/include/openssl/bio.h:20,
from /usr/local/include/openssl/conf.h:13,
from /usr/local/include/boost/asio/ssl/detail/openssl_types.hpp:19,
from /usr/local/include/boost/asio/ssl/context_base.hpp:19,
from /usr/local/include/boost/asio/ssl/context.hpp:27,
from /usr/local/include/boost/asio/ssl.hpp:19,
from /home/ubuntu/Vikas/Test/crow/include/crow/socket_adaptors.h:4,
from /home/ubuntu/Vikas/Test/crow/include/crow.h:7,
from /home/ubuntu/Vikas/Test/crow/examples/ssl/example_ssl.cpp:2:
/usr/local/include/openssl/ossl_typ.h:149:16: note: forward declaration of ‘SSL_CTX {aka struct ssl_ctx_st}’
typedef struct ssl_ctx_st SSL_CTX;
^
In file included from /usr/local/include/boost/asio/ssl/context.hpp:786:0,
from /usr/local/include/boost/asio/ssl.hpp:19,
from /home/ubuntu/Vikas/Test/crow/include/crow/socket_adaptors.h:4,
from /home/ubuntu/Vikas/Test/crow/include/crow.h:7,
from /home/ubuntu/Vikas/Test/crow/examples/ssl/example_ssl.cpp:2:
/usr/local/include/boost/asio/ssl/impl/context.ipp: In member function ‘boost::system::error_code boost::asio::ssl::context::use_rsa_private_key(const boost::asio::const_buffer&, boost::asio::ssl::context_base::file_format, boost::system::error_code&)’:
/usr/local/include/boost/asio/ssl/impl/context.ipp:703:28: error: invalid use of incomplete type ‘SSL_CTX {aka struct ssl_ctx_st}’
bio.p, 0, handle_->default_passwd_callback,
^
In file included from /usr/local/include/openssl/crypto.h:25:0,
from /usr/local/include/openssl/bio.h:20,
from /usr/local/include/openssl/conf.h:13,
from /usr/local/include/boost/asio/ssl/detail/openssl_types.hpp:19,
from /usr/local/include/boost/asio/ssl/context_base.hpp:19,
from /usr/local/include/boost/asio/ssl/context.hpp:27,
from /usr/local/include/boost/asio/ssl.hpp:19,
from /home/ubuntu/Vikas/Test/crow/include/crow/socket_adaptors.h:4,
from /home/ubuntu/Vikas/Test/crow/include/crow.h:7,
from /home/ubuntu/Vikas/Test/crow/examples/ssl/example_ssl.cpp:2:
/usr/local/include/openssl/ossl_typ.h:149:16: note: forward declaration of ‘SSL_CTX {aka struct ssl_ctx_st}’
typedef struct ssl_ctx_st SSL_CTX;
^
In file included from /usr/local/include/boost/asio/ssl/context.hpp:786:0,
from /usr/local/include/boost/asio/ssl.hpp:19,
from /home/ubuntu/Vikas/Test/crow/include/crow/socket_adaptors.h:4,
from /home/ubuntu/Vikas/Test/crow/include/crow.h:7,
from /home/ubuntu/Vikas/Test/crow/examples/ssl/example_ssl.cpp:2:
/usr/local/include/boost/asio/ssl/impl/context.ipp:704:18: error: invalid use of incomplete type ‘SSL_CTX {aka struct ssl_ctx_st}’
handle_->default_passwd_callback_userdata);
^
In file included from /usr/local/include/openssl/crypto.h:25:0,
from /usr/local/include/openssl/bio.h:20,
from /usr/local/include/openssl/conf.h:13,
from /usr/local/include/boost/asio/ssl/detail/openssl_types.hpp:19,
from /usr/local/include/boost/asio/ssl/context_base.hpp:19,
from /usr/local/include/boost/asio/ssl/context.hpp:27,
from /usr/local/include/boost/asio/ssl.hpp:19,
from /home/ubuntu/Vikas/Test/crow/include/crow/socket_adaptors.h:4,
from /home/ubuntu/Vikas/Test/crow/include/crow.h:7,
from /home/ubuntu/Vikas/Test/crow/examples/ssl/example_ssl.cpp:2:
/usr/local/include/openssl/ossl_typ.h:149:16: note: forward declaration of ‘SSL_CTX {aka struct ssl_ctx_st}’
typedef struct ssl_ctx_st SSL_CTX;
^
In file included from /usr/local/include/boost/asio/ssl/context.hpp:786:0,
from /usr/local/include/boost/asio/ssl.hpp:19,
from /home/ubuntu/Vikas/Test/crow/include/crow/socket_adaptors.h:4,
from /home/ubuntu/Vikas/Test/crow/include/crow.h:7,
from /home/ubuntu/Vikas/Test/crow/examples/ssl/example_ssl.cpp:2:
/usr/local/include/boost/asio/ssl/impl/context.ipp: In member function ‘boost::system::error_code boost::asio::ssl::context::do_set_password_callback(boost::asio::ssl::detail::password_callback_base*, boost::system::error_code&)’:
/usr/local/include/boost/asio/ssl/impl/context.ipp:923:14: error: invalid use of incomplete type ‘SSL_CTX {aka struct ssl_ctx_st}’
if (handle_->default_passwd_callback_userdata)
^
In file included from /usr/local/include/openssl/crypto.h:25:0,
from /usr/local/include/openssl/bio.h:20,
from /usr/local/include/openssl/conf.h:13,
from /usr/local/include/boost/asio/ssl/detail/openssl_types.hpp:19,
from /usr/local/include/boost/asio/ssl/context_base.hpp:19,
from /usr/local/include/boost/asio/ssl/context.hpp:27,
from /usr/local/include/boost/asio/ssl.hpp:19,
from /home/ubuntu/Vikas/Test/crow/include/crow/socket_adaptors.h:4,
from /home/ubuntu/Vikas/Test/crow/include/crow.h:7,
from /home/ubuntu/Vikas/Test/crow/examples/ssl/example_ssl.cpp:2:
/usr/local/include/openssl/ossl_typ.h:149:16: note: forward declaration of ‘SSL_CTX {aka struct ssl_ctx_st}’
typedef struct ssl_ctx_st SSL_CTX;
^
In file included from /usr/local/include/boost/asio/ssl/context.hpp:786:0,
from /usr/local/include/boost/asio/ssl.hpp:19,
from /home/ubuntu/Vikas/Test/crow/include/crow/socket_adaptors.h:4,
from /home/ubuntu/Vikas/Test/crow/include/crow.h:7,
from /home/ubuntu/Vikas/Test/crow/examples/ssl/example_ssl.cpp:2:
/usr/local/include/boost/asio/ssl/impl/context.ipp:925:16: error: invalid use of incomplete type ‘SSL_CTX {aka struct ssl_ctx_st}’
handle_->default_passwd_callback_userdata);
^
In file included from /usr/local/include/openssl/crypto.h:25:0,
from /usr/local/include/openssl/bio.h:20,
from /usr/local/include/openssl/conf.h:13,
from /usr/local/include/boost/asio/ssl/detail/openssl_types.hpp:19,
from /usr/local/include/boost/asio/ssl/context_base.hpp:19,
from /usr/local/include/boost/asio/ssl/context.hpp:27,
from /usr/local/include/boost/asio/ssl.hpp:19,
from /home/ubuntu/Vikas/Test/crow/include/crow/socket_adaptors.h:4,
from /home/ubuntu/Vikas/Test/crow/include/crow.h:7,
from /home/ubuntu/Vikas/Test/crow/examples/ssl/example_ssl.cpp:2:
/usr/local/include/openssl/ossl_typ.h:149:16: note: forward declaration of ‘SSL_CTX {aka struct ssl_ctx_st}’
typedef struct ssl_ctx_st SSL_CTX;
^
In file included from /usr/local/include/boost/asio/ssl/context.hpp:786:0,
from /usr/local/include/boost/asio/ssl.hpp:19,
from /home/ubuntu/Vikas/Test/crow/include/crow/socket_adaptors.h:4,
from /home/ubuntu/Vikas/Test/crow/include/crow.h:7,
from /home/ubuntu/Vikas/Test/crow/examples/ssl/example_ssl.cpp:2:
/usr/local/include/boost/asio/ssl/impl/context.ipp:927:10: error: invalid use of incomplete type ‘SSL_CTX {aka struct ssl_ctx_st}’
handle_->default_passwd_callback_userdata = callback;
^
In file included from /usr/local/include/openssl/crypto.h:25:0,
from /usr/local/include/openssl/bio.h:20,
from /usr/local/include/openssl/conf.h:13,
from /usr/local/include/boost/asio/ssl/detail/openssl_types.hpp:19,
from /usr/local/include/boost/asio/ssl/context_base.hpp:19,
from /usr/local/include/boost/asio/ssl/context.hpp:27,
from /usr/local/include/boost/asio/ssl.hpp:19,
from /home/ubuntu/Vikas/Test/crow/include/crow/socket_adaptors.h:4,
from /home/ubuntu/Vikas/Test/crow/include/crow.h:7,
from /home/ubuntu/Vikas/Test/crow/examples/ssl/example_ssl.cpp:2:
/usr/local/include/openssl/ossl_typ.h:149:16: note: forward declaration of ‘SSL_CTX {aka struct ssl_ctx_st}’
typedef struct ssl_ctx_st SSL_CTX;
^
In file included from /usr/local/include/openssl/engine.h:25:0,
from /usr/local/include/boost/asio/ssl/detail/openssl_types.hpp:22,
from /usr/local/include/boost/asio/ssl/context_base.hpp:19,
from /usr/local/include/boost/asio/ssl/context.hpp:27,
from /usr/local/include/boost/asio/ssl.hpp:19,
from /home/ubuntu/Vikas/Test/crow/include/crow/socket_adaptors.h:4,
from /home/ubuntu/Vikas/Test/crow/include/crow.h:7,
from /home/ubuntu/Vikas/Test/crow/examples/ssl/example_ssl.cpp:2:
/usr/local/include/boost/asio/ssl/detail/impl/engine.ipp: In member function ‘const boost::system::error_code& boost::asio::ssl::detail::engine::map_error_code(boost::system::error_code&) const’:
/usr/local/include/boost/asio/ssl/detail/impl/engine.ipp:207:9: error: ‘SSL_R_SHORT_READ’ was not declared in this scope
ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SHORT_READ),
^
In file included from /usr/local/include/boost/asio/ssl/detail/engine.hpp:163:0,
from /usr/local/include/boost/asio/ssl/detail/buffered_handshake_op.hpp:21,
from /usr/local/include/boost/asio/ssl/stream.hpp:29,
from /usr/local/include/boost/asio/ssl.hpp:24,
from /home/ubuntu/Vikas/Test/crow/include/crow/socket_adaptors.h:4,
from /home/ubuntu/Vikas/Test/crow/include/crow.h:7,
from /home/ubuntu/Vikas/Test/crow/examples/ssl/example_ssl.cpp:2:
/usr/local/include/boost/asio/ssl/detail/impl/engine.ipp:214:11: error: invalid use of incomplete type ‘SSL {aka struct ssl_st}’
if (ssl_->version == SSL2_VERSION)
^
In file included from /usr/local/include/openssl/crypto.h:25:0,
from /usr/local/include/openssl/bio.h:20,
from /usr/local/include/openssl/conf.h:13,
from /usr/local/include/boost/asio/ssl/detail/openssl_types.hpp:19,
from /usr/local/include/boost/asio/ssl/context_base.hpp:19,
from /usr/local/include/boost/asio/ssl/context.hpp:27,
from /usr/local/include/boost/asio/ssl.hpp:19,
from /home/ubuntu/Vikas/Test/crow/include/crow/socket_adaptors.h:4,
from /home/ubuntu/Vikas/Test/crow/include/crow.h:7,
from /home/ubuntu/Vikas/Test/crow/examples/ssl/example_ssl.cpp:2:
/usr/local/include/openssl/ossl_typ.h:148:16: note: forward declaration of ‘SSL {aka struct ssl_st}’
typedef struct ssl_st SSL;
^
In file included from /usr/local/include/openssl/engine.h:25:0,
from /usr/local/include/boost/asio/ssl/detail/openssl_types.hpp:22,
from /usr/local/include/boost/asio/ssl/context_base.hpp:19,
from /usr/local/include/boost/asio/ssl/context.hpp:27,
from /usr/local/include/boost/asio/ssl.hpp:19,
from /home/ubuntu/Vikas/Test/crow/include/crow/socket_adaptors.h:4,
from /home/ubuntu/Vikas/Test/crow/include/crow.h:7,
from /home/ubuntu/Vikas/Test/crow/examples/ssl/example_ssl.cpp:2:
/usr/local/include/boost/asio/ssl/detail/impl/engine.ipp:221:9: error: ‘SSL_R_SHORT_READ’ was not declared in this scope
ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SHORT_READ),
^
examples/CMakeFiles/example_ssl.dir/build.make:75: recipe for target 'examples/CMakeFiles/example_ssl.dir/ssl/example_ssl.cpp.o' failed
make[2]: *** [examples/CMakeFiles/example_ssl.dir/ssl/example_ssl.cpp.o] Error 1
CMakeFiles/Makefile2:204: recipe for target 'examples/CMakeFiles/example_ssl.dir/all' failed
make[1]: *** [examples/CMakeFiles/example_ssl.dir/all] Error 2
Makefile:100: recipe for target 'all' failed
make: *** [all] Error 2
The text was updated successfully, but these errors were encountered: