-
Notifications
You must be signed in to change notification settings - Fork 1
thorsten-klein/websocketpp_wolfssl
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Following error output occurs when trying to compile websocketpp's example "debug_client" with wolfssl: (The example is copied to folder examples/debug_client) In file included from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/detail/openssl_init.hpp:98:0, from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/context.hpp:29, from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl.hpp:19, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/common/asio_ssl.hpp:34, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/transport/asio/security/tls.hpp:35, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/config/asio_client.hpp:33, from ../debug_client.cpp:36: /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/detail/impl/openssl_init.ipp: In constructor ‘asio::ssl::detail::openssl_init_base::do_init::do_init()’: /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/detail/impl/openssl_init.ipp:54:54: error: ‘sk_SSL_COMP_new_null’ was not declared in this scope null_compression_methods_ = sk_SSL_COMP_new_null(); ^ /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/detail/impl/openssl_init.ipp: In destructor ‘asio::ssl::detail::openssl_init_base::do_init::~do_init()’: /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/detail/impl/openssl_init.ipp:63:47: error: ‘sk_SSL_COMP_free’ was not declared in this scope sk_SSL_COMP_free(null_compression_methods_); ^ /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/detail/impl/openssl_init.ipp:87:29: error: expected id-expression before ‘;’ token ::CONF_modules_unload(1); ^ /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/detail/impl/openssl_init.ipp:91:23: error: expected id-expression before ‘;’ token ::ENGINE_cleanup(); ^ In file included from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/impl/context.ipp:26:0, from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/context.hpp:784, from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl.hpp:19, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/common/asio_ssl.hpp:34, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/transport/asio/security/tls.hpp:35, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/config/asio_client.hpp:33, from ../debug_client.cpp:36: /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/error.hpp: At global scope: /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/error.hpp:47:31: error: ‘ERR_LIB_SSL’ was not declared in this scope stream_truncated = ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SHORT_READ) ^ /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/error.hpp:47:47: error: ‘SSL_R_SHORT_READ’ was not declared in this scope stream_truncated = ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SHORT_READ) ^ /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/error.hpp:47:63: error: ‘ERR_PACK’ was not declared in this scope stream_truncated = ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SHORT_READ) ^ In file included from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/context.hpp:784:0, from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl.hpp:19, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/common/asio_ssl.hpp:34, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/transport/asio/security/tls.hpp:35, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/config/asio_client.hpp:33, from ../debug_client.cpp:36: /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/impl/context.ipp: In constructor ‘asio::ssl::context::context(asio::ssl::context_base::method)’: /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/impl/context.ipp:84:29: error: ‘::SSLv2_method’ has not been declared handle_ = ::SSL_CTX_new(::SSLv2_method()); ^ /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/impl/context.ipp:103:29: error: ‘::SSLv3_method’ has not been declared handle_ = ::SSL_CTX_new(::SSLv3_method()); ^ /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/impl/context.ipp: In destructor ‘asio::ssl::context::~context()’: /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/impl/context.ipp:233:32: error: invalid use of incomplete type ‘SSL_CTX {aka struct WOLFSSL_CTX}’ void* cb_userdata = handle_->default_passwd_callback_userdata; ^ In file included from /home/default/GIT/websocketpp_wolfssl/wolfssl_github/installed/include/wolfssl/openssl/ssl.h:35:0, from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/detail/openssl_types.hpp:20, from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/context_base.hpp:19, from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/context.hpp:27, from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl.hpp:19, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/common/asio_ssl.hpp:34, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/transport/asio/security/tls.hpp:35, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/config/asio_client.hpp:33, from ../debug_client.cpp:36: /home/default/GIT/websocketpp_wolfssl/wolfssl_github/installed/include/wolfssl/ssl.h:113:16: note: forward declaration of ‘SSL_CTX {aka struct WOLFSSL_CTX}’ typedef struct WOLFSSL_CTX WOLFSSL_CTX; ^ In file included from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/context.hpp:784:0, from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl.hpp:19, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/common/asio_ssl.hpp:34, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/transport/asio/security/tls.hpp:35, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/config/asio_client.hpp:33, from ../debug_client.cpp:36: /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/impl/context.ipp:244:14: error: invalid use of incomplete type ‘SSL_CTX {aka struct WOLFSSL_CTX}’ handle_->default_passwd_callback_userdata = 0; ^ In file included from /home/default/GIT/websocketpp_wolfssl/wolfssl_github/installed/include/wolfssl/openssl/ssl.h:35:0, from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/detail/openssl_types.hpp:20, from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/context_base.hpp:19, from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/context.hpp:27, from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl.hpp:19, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/common/asio_ssl.hpp:34, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/transport/asio/security/tls.hpp:35, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/config/asio_client.hpp:33, from ../debug_client.cpp:36: /home/default/GIT/websocketpp_wolfssl/wolfssl_github/installed/include/wolfssl/ssl.h:113:16: note: forward declaration of ‘SSL_CTX {aka struct WOLFSSL_CTX}’ typedef struct WOLFSSL_CTX WOLFSSL_CTX; ^ In file included from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/context.hpp:784:0, from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl.hpp:19, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/common/asio_ssl.hpp:34, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/transport/asio/security/tls.hpp:35, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/config/asio_client.hpp:33, from ../debug_client.cpp:36: /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/impl/context.ipp:248:37: error: ‘SSL_CTX_get_app_data’ was not declared in this scope if (SSL_CTX_get_app_data(handle_)) ^ /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/impl/context.ipp:254:38: error: ‘SSL_CTX_set_app_data’ was not declared in this scope SSL_CTX_set_app_data(handle_, 0); ^ /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/impl/context.ipp: In member function ‘asio::error_code asio::ssl::context::clear_options(asio::ssl::context_base::options, asio::error_code&)’: /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/impl/context.ipp:287:12: error: invalid use of incomplete type ‘SSL_CTX {aka struct WOLFSSL_CTX}’ handle_->comp_methods = SSL_COMP_get_compression_methods(); ^ In file included from /home/default/GIT/websocketpp_wolfssl/wolfssl_github/installed/include/wolfssl/openssl/ssl.h:35:0, from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/detail/openssl_types.hpp:20, from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/context_base.hpp:19, from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/context.hpp:27, from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl.hpp:19, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/common/asio_ssl.hpp:34, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/transport/asio/security/tls.hpp:35, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/config/asio_client.hpp:33, from ../debug_client.cpp:36: /home/default/GIT/websocketpp_wolfssl/wolfssl_github/installed/include/wolfssl/ssl.h:113:16: note: forward declaration of ‘SSL_CTX {aka struct WOLFSSL_CTX}’ typedef struct WOLFSSL_CTX WOLFSSL_CTX; ^ In file included from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/context.hpp:784:0, from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl.hpp:19, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/common/asio_ssl.hpp:34, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/transport/asio/security/tls.hpp:35, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/config/asio_client.hpp:33, from ../debug_client.cpp:36: /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/impl/context.ipp: In member function ‘asio::error_code asio::ssl::context::set_options(asio::ssl::context_base::options, asio::error_code&)’: /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/impl/context.ipp:319:12: error: invalid use of incomplete type ‘SSL_CTX {aka struct WOLFSSL_CTX}’ handle_->comp_methods = ^ In file included from /home/default/GIT/websocketpp_wolfssl/wolfssl_github/installed/include/wolfssl/openssl/ssl.h:35:0, from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/detail/openssl_types.hpp:20, from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/context_base.hpp:19, from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/context.hpp:27, from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl.hpp:19, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/common/asio_ssl.hpp:34, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/transport/asio/security/tls.hpp:35, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/config/asio_client.hpp:33, from ../debug_client.cpp:36: /home/default/GIT/websocketpp_wolfssl/wolfssl_github/installed/include/wolfssl/ssl.h:113:16: note: forward declaration of ‘SSL_CTX {aka struct WOLFSSL_CTX}’ typedef struct WOLFSSL_CTX WOLFSSL_CTX; ^ In file included from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/context.hpp:784:0, from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl.hpp:19, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/common/asio_ssl.hpp:34, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/transport/asio/security/tls.hpp:35, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/config/asio_client.hpp:33, from ../debug_client.cpp:36: /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/impl/context.ipp: In member function ‘asio::error_code asio::ssl::context::use_certificate(const asio::const_buffer&, asio::ssl::context_base::file_format, asio::error_code&)’: /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/impl/context.ipp:487:9: error: ‘::SSL_CTX_use_certificate_ASN1’ has not been declared if (::SSL_CTX_use_certificate_ASN1(handle_, ^ /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/impl/context.ipp: In member function ‘asio::error_code asio::ssl::context::use_certificate_chain(const asio::const_buffer&, asio::error_code&)’: /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/impl/context.ipp:584:40: error: invalid use of incomplete type ‘SSL_CTX {aka struct WOLFSSL_CTX}’ pem_password_cb* callback = handle_->default_passwd_callback; ^ In file included from /home/default/GIT/websocketpp_wolfssl/wolfssl_github/installed/include/wolfssl/openssl/ssl.h:35:0, from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/detail/openssl_types.hpp:20, from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/context_base.hpp:19, from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/context.hpp:27, from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl.hpp:19, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/common/asio_ssl.hpp:34, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/transport/asio/security/tls.hpp:35, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/config/asio_client.hpp:33, from ../debug_client.cpp:36: /home/default/GIT/websocketpp_wolfssl/wolfssl_github/installed/include/wolfssl/ssl.h:113:16: note: forward declaration of ‘SSL_CTX {aka struct WOLFSSL_CTX}’ typedef struct WOLFSSL_CTX WOLFSSL_CTX; ^ In file included from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/context.hpp:784:0, from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl.hpp:19, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/common/asio_ssl.hpp:34, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/transport/asio/security/tls.hpp:35, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/config/asio_client.hpp:33, from ../debug_client.cpp:36: /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/impl/context.ipp:585:32: error: invalid use of incomplete type ‘SSL_CTX {aka struct WOLFSSL_CTX}’ void* cb_userdata = handle_->default_passwd_callback_userdata; ^ In file included from /home/default/GIT/websocketpp_wolfssl/wolfssl_github/installed/include/wolfssl/openssl/ssl.h:35:0, from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/detail/openssl_types.hpp:20, from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/context_base.hpp:19, from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/context.hpp:27, from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl.hpp:19, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/common/asio_ssl.hpp:34, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/transport/asio/security/tls.hpp:35, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/config/asio_client.hpp:33, from ../debug_client.cpp:36: /home/default/GIT/websocketpp_wolfssl/wolfssl_github/installed/include/wolfssl/ssl.h:113:16: note: forward declaration of ‘SSL_CTX {aka struct WOLFSSL_CTX}’ typedef struct WOLFSSL_CTX WOLFSSL_CTX; ^ In file included from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/context.hpp:784:0, from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl.hpp:19, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/common/asio_ssl.hpp:34, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/transport/asio/security/tls.hpp:35, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/config/asio_client.hpp:33, from ../debug_client.cpp:36: /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/impl/context.ipp:593:29: error: ‘ERR_R_PEM_LIB’ was not declared in this scope ec = asio::error_code(ERR_R_PEM_LIB, ^ /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/impl/context.ipp:610:16: error: invalid use of incomplete type ‘SSL_CTX {aka struct WOLFSSL_CTX}’ if (handle_->extra_certs) ^ In file included from /home/default/GIT/websocketpp_wolfssl/wolfssl_github/installed/include/wolfssl/openssl/ssl.h:35:0, from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/detail/openssl_types.hpp:20, from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/context_base.hpp:19, from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/context.hpp:27, from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl.hpp:19, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/common/asio_ssl.hpp:34, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/transport/asio/security/tls.hpp:35, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/config/asio_client.hpp:33, from ../debug_client.cpp:36: /home/default/GIT/websocketpp_wolfssl/wolfssl_github/installed/include/wolfssl/ssl.h:113:16: note: forward declaration of ‘SSL_CTX {aka struct WOLFSSL_CTX}’ typedef struct WOLFSSL_CTX WOLFSSL_CTX; ^ In file included from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/context.hpp:784:0, from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl.hpp:19, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/common/asio_ssl.hpp:34, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/transport/asio/security/tls.hpp:35, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/config/asio_client.hpp:33, from ../debug_client.cpp:36: /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/impl/context.ipp:612:33: error: invalid use of incomplete type ‘SSL_CTX {aka struct WOLFSSL_CTX}’ ::sk_X509_pop_free(handle_->extra_certs, X509_free); ^ In file included from /home/default/GIT/websocketpp_wolfssl/wolfssl_github/installed/include/wolfssl/openssl/ssl.h:35:0, from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/detail/openssl_types.hpp:20, from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/context_base.hpp:19, from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/context.hpp:27, from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl.hpp:19, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/common/asio_ssl.hpp:34, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/transport/asio/security/tls.hpp:35, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/config/asio_client.hpp:33, from ../debug_client.cpp:36: /home/default/GIT/websocketpp_wolfssl/wolfssl_github/installed/include/wolfssl/ssl.h:113:16: note: forward declaration of ‘SSL_CTX {aka struct WOLFSSL_CTX}’ typedef struct WOLFSSL_CTX WOLFSSL_CTX; ^ In file included from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/context.hpp:784:0, from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl.hpp:19, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/common/asio_ssl.hpp:34, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/transport/asio/security/tls.hpp:35, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/config/asio_client.hpp:33, from ../debug_client.cpp:36: /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/impl/context.ipp:613:14: error: invalid use of incomplete type ‘SSL_CTX {aka struct WOLFSSL_CTX}’ handle_->extra_certs = 0; ^ In file included from /home/default/GIT/websocketpp_wolfssl/wolfssl_github/installed/include/wolfssl/openssl/ssl.h:35:0, from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/detail/openssl_types.hpp:20, from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/context_base.hpp:19, from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/context.hpp:27, from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl.hpp:19, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/common/asio_ssl.hpp:34, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/transport/asio/security/tls.hpp:35, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/config/asio_client.hpp:33, from ../debug_client.cpp:36: /home/default/GIT/websocketpp_wolfssl/wolfssl_github/installed/include/wolfssl/ssl.h:113:16: note: forward declaration of ‘SSL_CTX {aka struct WOLFSSL_CTX}’ typedef struct WOLFSSL_CTX WOLFSSL_CTX; ^ In file included from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/context.hpp:784:0, from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl.hpp:19, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/common/asio_ssl.hpp:34, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/transport/asio/security/tls.hpp:35, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/config/asio_client.hpp:33, from ../debug_client.cpp:36: /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/impl/context.ipp: In member function ‘asio::error_code asio::ssl::context::use_private_key(const asio::const_buffer&, asio::ssl::context_base::file_format, asio::error_code&)’: /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/impl/context.ipp:688:40: error: invalid use of incomplete type ‘SSL_CTX {aka struct WOLFSSL_CTX}’ pem_password_cb* callback = handle_->default_passwd_callback; ^ In file included from /home/default/GIT/websocketpp_wolfssl/wolfssl_github/installed/include/wolfssl/openssl/ssl.h:35:0, from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/detail/openssl_types.hpp:20, from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/context_base.hpp:19, from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/context.hpp:27, from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl.hpp:19, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/common/asio_ssl.hpp:34, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/transport/asio/security/tls.hpp:35, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/config/asio_client.hpp:33, from ../debug_client.cpp:36: /home/default/GIT/websocketpp_wolfssl/wolfssl_github/installed/include/wolfssl/ssl.h:113:16: note: forward declaration of ‘SSL_CTX {aka struct WOLFSSL_CTX}’ typedef struct WOLFSSL_CTX WOLFSSL_CTX; ^ In file included from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/context.hpp:784:0, from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl.hpp:19, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/common/asio_ssl.hpp:34, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/transport/asio/security/tls.hpp:35, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/config/asio_client.hpp:33, from ../debug_client.cpp:36: /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/impl/context.ipp:689:32: error: invalid use of incomplete type ‘SSL_CTX {aka struct WOLFSSL_CTX}’ void* cb_userdata = handle_->default_passwd_callback_userdata; ^ In file included from /home/default/GIT/websocketpp_wolfssl/wolfssl_github/installed/include/wolfssl/openssl/ssl.h:35:0, from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/detail/openssl_types.hpp:20, from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/context_base.hpp:19, from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/context.hpp:27, from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl.hpp:19, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/common/asio_ssl.hpp:34, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/transport/asio/security/tls.hpp:35, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/config/asio_client.hpp:33, from ../debug_client.cpp:36: /home/default/GIT/websocketpp_wolfssl/wolfssl_github/installed/include/wolfssl/ssl.h:113:16: note: forward declaration of ‘SSL_CTX {aka struct WOLFSSL_CTX}’ typedef struct WOLFSSL_CTX WOLFSSL_CTX; ^ In file included from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/context.hpp:784:0, from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl.hpp:19, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/common/asio_ssl.hpp:34, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/transport/asio/security/tls.hpp:35, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/config/asio_client.hpp:33, from ../debug_client.cpp:36: /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/impl/context.ipp:699:27: error: ‘::d2i_PrivateKey_bio’ has not been declared evp_private_key.p = ::d2i_PrivateKey_bio(bio.p, 0); ^ /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/impl/context.ipp:702:27: error: ‘::PEM_read_bio_PrivateKey’ has not been declared evp_private_key.p = ::PEM_read_bio_PrivateKey( ^ /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/impl/context.ipp: In member function ‘asio::error_code asio::ssl::context::use_rsa_private_key(const asio::const_buffer&, asio::ssl::context_base::file_format, asio::error_code&)’: /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/impl/context.ipp:755:40: error: invalid use of incomplete type ‘SSL_CTX {aka struct WOLFSSL_CTX}’ pem_password_cb* callback = handle_->default_passwd_callback; ^ In file included from /home/default/GIT/websocketpp_wolfssl/wolfssl_github/installed/include/wolfssl/openssl/ssl.h:35:0, from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/detail/openssl_types.hpp:20, from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/context_base.hpp:19, from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/context.hpp:27, from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl.hpp:19, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/common/asio_ssl.hpp:34, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/transport/asio/security/tls.hpp:35, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/config/asio_client.hpp:33, from ../debug_client.cpp:36: /home/default/GIT/websocketpp_wolfssl/wolfssl_github/installed/include/wolfssl/ssl.h:113:16: note: forward declaration of ‘SSL_CTX {aka struct WOLFSSL_CTX}’ typedef struct WOLFSSL_CTX WOLFSSL_CTX; ^ In file included from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/context.hpp:784:0, from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl.hpp:19, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/common/asio_ssl.hpp:34, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/transport/asio/security/tls.hpp:35, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/config/asio_client.hpp:33, from ../debug_client.cpp:36: /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/impl/context.ipp:756:32: error: invalid use of incomplete type ‘SSL_CTX {aka struct WOLFSSL_CTX}’ void* cb_userdata = handle_->default_passwd_callback_userdata; ^ In file included from /home/default/GIT/websocketpp_wolfssl/wolfssl_github/installed/include/wolfssl/openssl/ssl.h:35:0, from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/detail/openssl_types.hpp:20, from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/context_base.hpp:19, from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/context.hpp:27, from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl.hpp:19, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/common/asio_ssl.hpp:34, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/transport/asio/security/tls.hpp:35, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/config/asio_client.hpp:33, from ../debug_client.cpp:36: /home/default/GIT/websocketpp_wolfssl/wolfssl_github/installed/include/wolfssl/ssl.h:113:16: note: forward declaration of ‘SSL_CTX {aka struct WOLFSSL_CTX}’ typedef struct WOLFSSL_CTX WOLFSSL_CTX; ^ In file included from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/context.hpp:784:0, from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl.hpp:19, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/common/asio_ssl.hpp:34, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/transport/asio/security/tls.hpp:35, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/config/asio_client.hpp:33, from ../debug_client.cpp:36: /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/impl/context.ipp:766:27: error: ‘::d2i_RSAPrivateKey_bio’ has not been declared rsa_private_key.p = ::d2i_RSAPrivateKey_bio(bio.p, 0); ^ /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/impl/context.ipp:769:27: error: ‘::PEM_read_bio_RSAPrivateKey’ has not been declared rsa_private_key.p = ::PEM_read_bio_RSAPrivateKey( ^ /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/impl/context.ipp:782:11: error: ‘::SSL_CTX_use_RSAPrivateKey’ has not been declared if (::SSL_CTX_use_RSAPrivateKey(handle_, rsa_private_key.p) == 1) ^ /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/impl/context.ipp: In member function ‘asio::error_code asio::ssl::context::do_set_verify_callback(asio::ssl::detail::verify_callback_base*, asio::error_code&)’: /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/impl/context.ipp:945:35: error: ‘SSL_CTX_get_app_data’ was not declared in this scope if (SSL_CTX_get_app_data(handle_)) ^ /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/impl/context.ipp:951:41: error: ‘SSL_CTX_set_app_data’ was not declared in this scope SSL_CTX_set_app_data(handle_, callback); ^ /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/impl/context.ipp:954:7: error: ‘::wolfSSL_CTX_get_verify_mode’ has not been declared ::SSL_CTX_get_verify_mode(handle_), ^ /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/impl/context.ipp: In static member function ‘static int asio::ssl::context::verify_callback_function(int, X509_STORE_CTX*)’: /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/impl/context.ipp:971:40: error: ‘SSL_CTX_get_app_data’ was not declared in this scope if (SSL_CTX_get_app_data(handle)) ^ /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/impl/context.ipp: In member function ‘asio::error_code asio::ssl::context::do_set_password_callback(asio::ssl::detail::password_callback_base*, asio::error_code&)’: /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/impl/context.ipp:994:31: error: invalid use of incomplete type ‘SSL_CTX {aka struct WOLFSSL_CTX}’ void* old_callback = handle_->default_passwd_callback_userdata; ^ In file included from /home/default/GIT/websocketpp_wolfssl/wolfssl_github/installed/include/wolfssl/openssl/ssl.h:35:0, from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/detail/openssl_types.hpp:20, from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/context_base.hpp:19, from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/context.hpp:27, from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl.hpp:19, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/common/asio_ssl.hpp:34, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/transport/asio/security/tls.hpp:35, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/config/asio_client.hpp:33, from ../debug_client.cpp:36: /home/default/GIT/websocketpp_wolfssl/wolfssl_github/installed/include/wolfssl/ssl.h:113:16: note: forward declaration of ‘SSL_CTX {aka struct WOLFSSL_CTX}’ typedef struct WOLFSSL_CTX WOLFSSL_CTX; ^ In file included from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/context.hpp:784:0, from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl.hpp:19, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/common/asio_ssl.hpp:34, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/transport/asio/security/tls.hpp:35, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/config/asio_client.hpp:33, from ../debug_client.cpp:36: /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/impl/context.ipp:995:10: error: invalid use of incomplete type ‘SSL_CTX {aka struct WOLFSSL_CTX}’ handle_->default_passwd_callback_userdata = callback; ^ In file included from /home/default/GIT/websocketpp_wolfssl/wolfssl_github/installed/include/wolfssl/openssl/ssl.h:35:0, from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/detail/openssl_types.hpp:20, from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/context_base.hpp:19, from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/context.hpp:27, from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl.hpp:19, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/common/asio_ssl.hpp:34, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/transport/asio/security/tls.hpp:35, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/config/asio_client.hpp:33, from ../debug_client.cpp:36: /home/default/GIT/websocketpp_wolfssl/wolfssl_github/installed/include/wolfssl/ssl.h:113:16: note: forward declaration of ‘SSL_CTX {aka struct WOLFSSL_CTX}’ typedef struct WOLFSSL_CTX WOLFSSL_CTX; ^ In file included from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/rfc2818_verification.hpp:97:0, from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl.hpp:23, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/common/asio_ssl.hpp:34, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/transport/asio/security/tls.hpp:35, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/config/asio_client.hpp:33, from ../debug_client.cpp:36: /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/impl/rfc2818_verification.ipp: In member function ‘bool asio::ssl::rfc2818_verification::operator()(bool, asio::ssl::verify_context&) const’: /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/impl/rfc2818_verification.ipp:59:3: error: ‘GENERAL_NAMES’ was not declared in this scope GENERAL_NAMES* gens = static_cast<GENERAL_NAMES*>( ^ /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/impl/rfc2818_verification.ipp:59:18: error: ‘gens’ was not declared in this scope GENERAL_NAMES* gens = static_cast<GENERAL_NAMES*>( ^ /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/impl/rfc2818_verification.ipp:59:37: error: ‘GENERAL_NAMES’ does not name a type GENERAL_NAMES* gens = static_cast<GENERAL_NAMES*>( ^ /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/impl/rfc2818_verification.ipp:59:50: error: expected ‘>’ before ‘*’ token GENERAL_NAMES* gens = static_cast<GENERAL_NAMES*>( ^ /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/impl/rfc2818_verification.ipp:59:50: error: expected ‘(’ before ‘*’ token /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/impl/rfc2818_verification.ipp:59:51: error: expected primary-expression before ‘>’ token GENERAL_NAMES* gens = static_cast<GENERAL_NAMES*>( ^ /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/impl/rfc2818_verification.ipp:60:58: error: expected ‘)’ before ‘;’ token X509_get_ext_d2i(cert, NID_subject_alt_name, 0, 0)); ^ /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/impl/rfc2818_verification.ipp:66:7: error: ‘ASN1_IA5STRING’ was not declared in this scope ASN1_IA5STRING* domain = gen->d.dNSName; ^ /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/impl/rfc2818_verification.ipp:66:23: error: ‘domain’ was not declared in this scope ASN1_IA5STRING* domain = gen->d.dNSName; ^ /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/impl/rfc2818_verification.ipp:66:39: error: ‘struct WOLFSSL_ASN1_OBJECT::d’ has no member named ‘dNSName’ ASN1_IA5STRING* domain = gen->d.dNSName; ^ /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/impl/rfc2818_verification.ipp:67:27: error: ‘V_ASN1_IA5STRING’ was not declared in this scope if (domain->type == V_ASN1_IA5STRING && domain->data && domain->length) ^ /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/impl/rfc2818_verification.ipp:73:34: error: ‘GENERAL_NAMES_free’ was not declared in this scope GENERAL_NAMES_free(gens); ^ /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/impl/rfc2818_verification.ipp:78:27: error: ‘GEN_IPADD’ was not declared in this scope else if (gen->type == GEN_IPADD && is_address) ^ /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/impl/rfc2818_verification.ipp:80:7: error: ‘ASN1_OCTET_STRING’ was not declared in this scope ASN1_OCTET_STRING* ip_address = gen->d.iPAddress; ^ /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/impl/rfc2818_verification.ipp:80:26: error: ‘ip_address’ was not declared in this scope ASN1_OCTET_STRING* ip_address = gen->d.iPAddress; ^ /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/impl/rfc2818_verification.ipp:80:46: error: ‘struct WOLFSSL_ASN1_OBJECT::d’ has no member named ‘iPAddress’ ASN1_OCTET_STRING* ip_address = gen->d.iPAddress; ^ /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/impl/rfc2818_verification.ipp:88:36: error: ‘GENERAL_NAMES_free’ was not declared in this scope GENERAL_NAMES_free(gens); ^ /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/impl/rfc2818_verification.ipp:97:36: error: ‘GENERAL_NAMES_free’ was not declared in this scope GENERAL_NAMES_free(gens); ^ /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/impl/rfc2818_verification.ipp:104:26: error: ‘GENERAL_NAMES_free’ was not declared in this scope GENERAL_NAMES_free(gens); ^ In file included from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/detail/engine.hpp:161:0, from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/detail/buffered_handshake_op.hpp:21, from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/stream.hpp:29, from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl.hpp:24, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/common/asio_ssl.hpp:34, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/transport/asio/security/tls.hpp:35, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/config/asio_client.hpp:33, from ../debug_client.cpp:36: /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/detail/impl/engine.ipp: In constructor ‘asio::ssl::detail::engine::engine(SSL_CTX*)’: /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/detail/impl/engine.ipp:49:3: error: ‘::SSL_set_mode’ has not been declared ::SSL_set_mode(ssl_, SSL_MODE_ENABLE_PARTIAL_WRITE); ^ /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/detail/impl/engine.ipp:50:3: error: ‘::SSL_set_mode’ has not been declared ::SSL_set_mode(ssl_, SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER); ^ /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/detail/impl/engine.ipp:56:3: error: ‘::BIO_new_bio_pair’ has not been declared ::BIO_new_bio_pair(&int_bio, 0, &ext_bio_, 0); ^ /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/detail/impl/engine.ipp: In member function ‘asio::error_code asio::ssl::detail::engine::set_verify_mode(asio::ssl::verify_mode, asio::error_code&)’: /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/detail/impl/engine.ipp:80:29: error: ‘::SSL_get_verify_callback’ has not been declared ::SSL_set_verify(ssl_, v, ::SSL_get_verify_callback(ssl_)); ^ /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/detail/impl/engine.ipp: In member function ‘const error_code& asio::ssl::detail::engine::map_error_code(asio::error_code&) const’: /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/detail/impl/engine.ipp:203:28: error: ‘BIO_wpending’ was not declared in this scope if (BIO_wpending(ext_bio_)) ^ /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/detail/impl/engine.ipp:212:11: error: invalid use of incomplete type ‘SSL {aka struct WOLFSSL}’ if (ssl_->version == SSL2_VERSION) ^ In file included from /home/default/GIT/websocketpp_wolfssl/wolfssl_github/installed/include/wolfssl/openssl/ssl.h:35:0, from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/detail/openssl_types.hpp:20, from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/context_base.hpp:19, from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl/context.hpp:27, from /home/default/GIT/websocketpp_wolfssl/asio/asio-1.10.8/include/asio/ssl.hpp:19, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/common/asio_ssl.hpp:34, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/transport/asio/security/tls.hpp:35, from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/config/asio_client.hpp:33, from ../debug_client.cpp:36: /home/default/GIT/websocketpp_wolfssl/wolfssl_github/installed/include/wolfssl/ssl.h:107:16: note: forward declaration of ‘SSL {aka struct WOLFSSL}’ typedef struct WOLFSSL WOLFSSL; ^ In file included from /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/config/asio_client.hpp:33:0, from ../debug_client.cpp:36: /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/transport/asio/security/tls.hpp: In member function ‘std::error_code websocketpp::transport::asio::tls_socket::connection::translate_ec(ErrorCodeType)’: /home/default/GIT/websocketpp_wolfssl/websocketpp/websocketpp/transport/asio/security/tls.hpp:358:47: error: ‘SSL_R_SHORT_READ’ was not declared in this scope if (ERR_GET_REASON(ec.value()) == SSL_R_SHORT_READ) { ^
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published