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
g++ -DPACKAGE_NAME="" -DPACKAGE_TARNAME="" -DPACKAGE_VERSION="" -DPACKAGE_STRING="" -DPACKAGE_BUGREPORT="" -DPACKAGE_URL="" -DPACKAGE="sslsniff" -DVERSION="0.8" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -I. -ggdb -g -O2 -MT SSLConnectionManager.o -MD -MP -MF .deps/SSLConnectionManager.Tpo -c -o SSLConnectionManager.o SSLConnectionManager.cpp
In file included from SSLBridge.hpp:41,
from HTTPSBridge.hpp:24,
from FirefoxUpdater.hpp:23,
from FirefoxAddonUpdater.hpp:26,
from SSLConnectionManager.cpp:20:
certificate/Certificate.hpp: In member function ‘std::__cxx11::string Certificate::parseNameFromOCSPUrl(std::__cxx11::string&)’:
certificate/Certificate.hpp:60:52: warning: overflow in conversion from ‘std::__cxx11::basic_string::size_type’ {aka ‘long unsigned int’} to ‘int’ changes value from ‘18446744073709551615’ to ‘-1’ [-Woverflow]
else forwardSlash = std::string::npos;
^~~~
certificate/Certificate.hpp: In member function ‘void Certificate::parseOCSPUrls(X509*)’:
certificate/Certificate.hpp:82:61: warning: ‘unsigned char* ASN1_STRING_data(ASN1_STRING*)’ is deprecated [-Wdeprecated-declarations]
unsigned char * data = ASN1_STRING_data(ad->location->d.ia5);
^
In file included from /usr/include/openssl/e_os2.h:13,
from /usr/include/openssl/pem.h:13,
from SSLBridge.hpp:26,
from HTTPSBridge.hpp:24,
from FirefoxUpdater.hpp:23,
from FirefoxAddonUpdater.hpp:26,
from SSLConnectionManager.cpp:20:
/usr/include/openssl/asn1.h:554:1: note: declared here
DEPRECATEDIN_1_1_0(unsigned char ASN1_STRING_data(ASN1_STRING x))
^~~~~~~~~~~~~~~~~~
In file included from SSLBridge.hpp:41,
from HTTPSBridge.hpp:24,
from FirefoxUpdater.hpp:23,
from FirefoxAddonUpdater.hpp:26,
from SSLConnectionManager.cpp:20:
certificate/Certificate.hpp:82:61: warning: ‘unsigned char ASN1_STRING_data(ASN1_STRING)’ is deprecated [-Wdeprecated-declarations]
unsigned char * data = ASN1_STRING_data(ad->location->d.ia5);
^
In file included from /usr/include/openssl/e_os2.h:13,
from /usr/include/openssl/pem.h:13,
from SSLBridge.hpp:26,
from HTTPSBridge.hpp:24,
from FirefoxUpdater.hpp:23,
from FirefoxAddonUpdater.hpp:26,
from SSLConnectionManager.cpp:20:
/usr/include/openssl/asn1.h:554:1: note: declared here
DEPRECATEDIN_1_1_0(unsigned char *ASN1_STRING_data(ASN1_STRING x))
^~~~~~~~~~~~~~~~~~
In file included from SSLBridge.hpp:41,
from HTTPSBridge.hpp:24,
from FirefoxUpdater.hpp:23,
from FirefoxAddonUpdater.hpp:26,
from SSLConnectionManager.cpp:20:
certificate/Certificate.hpp: In member function ‘void Certificate::parseCommonName(X509)’:
certificate/Certificate.hpp:95:39: error: invalid use of incomplete type ‘X509’ {aka ‘struct x509_st’}
std::string distinguishedName(cert->name);
^~
In file included from /usr/include/openssl/crypto.h:25,
from /usr/include/openssl/bio.h:20,
from /usr/include/openssl/pem.h:14,
from SSLBridge.hpp:26,
from HTTPSBridge.hpp:24,
from FirefoxUpdater.hpp:23,
from FirefoxAddonUpdater.hpp:26,
from SSLConnectionManager.cpp:20:
/usr/include/openssl/ossl_typ.h:120:16: note: forward declaration of ‘X509’ {aka ‘struct x509_st’}
typedef struct x509_st X509;
^~~~~~~
SSLConnectionManager.cpp: In member function ‘void SSLConnectionManager::acceptIncomingConnection()’:
SSLConnectionManager.cpp:47:74: error: ‘boost::asio::ip::tcp::acceptor’ {aka ‘class boost::asio::basic_socket_acceptorboost::asio::ip::tcp’} has no member named ‘io_service’; did you mean ‘get_service’?
boost::shared_ptrip::tcp::socket socket(new ip::tcp::socket(acceptor.io_service()));
^~~~~~~~~~
get_service
SSLConnectionManager.cpp: In member function ‘void SSLConnectionManager::shuttleConnection(boost::shared_ptr<boost::asio::basic_stream_socketboost::asio::ip::tcp >, boost::asio::ip::tcp::endpoint&)’:
SSLConnectionManager.cpp:79:78: error: ‘boost::asio::ip::tcp::acceptor’ {aka ‘class boost::asio::basic_socket_acceptorboost::asio::ip::tcp’} has no member named ‘io_service’; did you mean ‘get_service’?
Bridge::ptr bridge = RawBridge::create(clientSocket, destination, acceptor.io_service());
^~~~~~~~~~
get_service
SSLConnectionManager.cpp: In member function ‘void SSLConnectionManager::interceptUpdate(boost::shared_ptr<boost::asio::basic_stream_socketboost::asio::ip::tcp >, boost::asio::ip::tcp::endpoint&, bool)’:
SSLConnectionManager.cpp:98:17: error: redeclaration of ‘std::__cxx11::string error’ [-fpermissive]
std::string error = errorStream.str();
^~~~~
SSLConnectionManager.cpp:95:32: note: ‘SSLConnectionError& error’ previously declared here
} catch (SSLConnectionError &error) {
^~~~~
SSLConnectionManager.cpp:103:17: error: redeclaration of ‘std::__cxx11::string error’ [-fpermissive]
std::string error = errorStream.str();
^~~~~
SSLConnectionManager.cpp:100:36: note: ‘FirefoxUpdateException& error’ previously declared here
} catch (FirefoxUpdateException &error) {
^~~~~
SSLConnectionManager.cpp: In member function ‘void SSLConnectionManager::interceptAddon(boost::shared_ptr<boost::asio::basic_stream_socketboost::asio::ip::tcp >, boost::asio::ip::tcp::endpoint&, bool)’:
SSLConnectionManager.cpp:123:17: error: redeclaration of ‘std::__cxx11::string error’ [-fpermissive]
std::string error = errorStream.str();
^~~~~
SSLConnectionManager.cpp:120:32: note: ‘SSLConnectionError& error’ previously declared here
} catch (SSLConnectionError &error) {
^~~~~
SSLConnectionManager.cpp:128:17: error: redeclaration of ‘std::__cxx11::string error’ [-fpermissive]
std::string error = errorStream.str();
^~~~~
SSLConnectionManager.cpp:125:36: note: ‘FirefoxUpdateException& error’ previously declared here
} catch (FirefoxUpdateException &error) {
^~~~~
SSLConnectionManager.cpp: In member function ‘void SSLConnectionManager::interceptSSL(boost::shared_ptr<boost::asio::basic_stream_socketboost::asio::ip::tcp >, boost::asio::ip::tcp::endpoint&, bool)’:
SSLConnectionManager.cpp:137:41: error: ‘boost::asio::ip::tcp::acceptor’ {aka ‘class boost::asio::basic_socket_acceptorboost::asio::ip::tcp’} has no member named ‘io_service’; did you mean ‘get_service’?
ip::tcp::socket serverSocket(acceptor.io_service());
^~~~~~~~~~
get_service
SSLConnectionManager.cpp:154:19: error: redeclaration of ‘std::__cxx11::string error’ [-fpermissive]
std::string error = errorStream.str();
^~~~~
SSLConnectionManager.cpp:151:34: note: ‘SSLConnectionError& error’ previously declared here
} catch (SSLConnectionError &error) {
^~~~~
make: *** [Makefile:294: SSLConnectionManager.o] Error 1
The text was updated successfully, but these errors were encountered:
g++ -DPACKAGE_NAME="" -DPACKAGE_TARNAME="" -DPACKAGE_VERSION="" -DPACKAGE_STRING="" -DPACKAGE_BUGREPORT="" -DPACKAGE_URL="" -DPACKAGE="sslsniff" -DVERSION="0.8" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -I. -ggdb -g -O2 -MT SSLConnectionManager.o -MD -MP -MF .deps/SSLConnectionManager.Tpo -c -o SSLConnectionManager.o SSLConnectionManager.cpp
In file included from SSLBridge.hpp:41,
from HTTPSBridge.hpp:24,
from FirefoxUpdater.hpp:23,
from FirefoxAddonUpdater.hpp:26,
from SSLConnectionManager.cpp:20:
certificate/Certificate.hpp: In member function ‘std::__cxx11::string Certificate::parseNameFromOCSPUrl(std::__cxx11::string&)’:
certificate/Certificate.hpp:60:52: warning: overflow in conversion from ‘std::__cxx11::basic_string::size_type’ {aka ‘long unsigned int’} to ‘int’ changes value from ‘18446744073709551615’ to ‘-1’ [-Woverflow]
else forwardSlash = std::string::npos;
^~~~
certificate/Certificate.hpp: In member function ‘void Certificate::parseOCSPUrls(X509*)’:
certificate/Certificate.hpp:82:61: warning: ‘unsigned char* ASN1_STRING_data(ASN1_STRING*)’ is deprecated [-Wdeprecated-declarations]
unsigned char * data = ASN1_STRING_data(ad->location->d.ia5);
^
In file included from /usr/include/openssl/e_os2.h:13,
from /usr/include/openssl/pem.h:13,
from SSLBridge.hpp:26,
from HTTPSBridge.hpp:24,
from FirefoxUpdater.hpp:23,
from FirefoxAddonUpdater.hpp:26,
from SSLConnectionManager.cpp:20:
/usr/include/openssl/asn1.h:554:1: note: declared here
DEPRECATEDIN_1_1_0(unsigned char ASN1_STRING_data(ASN1_STRING x))
^~~~~~~~~~~~~~~~~~
In file included from SSLBridge.hpp:41,
from HTTPSBridge.hpp:24,
from FirefoxUpdater.hpp:23,
from FirefoxAddonUpdater.hpp:26,
from SSLConnectionManager.cpp:20:
certificate/Certificate.hpp:82:61: warning: ‘unsigned char ASN1_STRING_data(ASN1_STRING)’ is deprecated [-Wdeprecated-declarations]
unsigned char * data = ASN1_STRING_data(ad->location->d.ia5);
^
In file included from /usr/include/openssl/e_os2.h:13,
from /usr/include/openssl/pem.h:13,
from SSLBridge.hpp:26,
from HTTPSBridge.hpp:24,
from FirefoxUpdater.hpp:23,
from FirefoxAddonUpdater.hpp:26,
from SSLConnectionManager.cpp:20:
/usr/include/openssl/asn1.h:554:1: note: declared here
DEPRECATEDIN_1_1_0(unsigned char *ASN1_STRING_data(ASN1_STRING x))
^~~~~~~~~~~~~~~~~~
In file included from SSLBridge.hpp:41,
from HTTPSBridge.hpp:24,
from FirefoxUpdater.hpp:23,
from FirefoxAddonUpdater.hpp:26,
from SSLConnectionManager.cpp:20:
certificate/Certificate.hpp: In member function ‘void Certificate::parseCommonName(X509)’:
certificate/Certificate.hpp:95:39: error: invalid use of incomplete type ‘X509’ {aka ‘struct x509_st’}
std::string distinguishedName(cert->name);
^~
In file included from /usr/include/openssl/crypto.h:25,
from /usr/include/openssl/bio.h:20,
from /usr/include/openssl/pem.h:14,
from SSLBridge.hpp:26,
from HTTPSBridge.hpp:24,
from FirefoxUpdater.hpp:23,
from FirefoxAddonUpdater.hpp:26,
from SSLConnectionManager.cpp:20:
/usr/include/openssl/ossl_typ.h:120:16: note: forward declaration of ‘X509’ {aka ‘struct x509_st’}
typedef struct x509_st X509;
^~~~~~~
SSLConnectionManager.cpp: In member function ‘void SSLConnectionManager::acceptIncomingConnection()’:
SSLConnectionManager.cpp:47:74: error: ‘boost::asio::ip::tcp::acceptor’ {aka ‘class boost::asio::basic_socket_acceptorboost::asio::ip::tcp’} has no member named ‘io_service’; did you mean ‘get_service’?
boost::shared_ptrip::tcp::socket socket(new ip::tcp::socket(acceptor.io_service()));
^~~~~~~~~~
get_service
SSLConnectionManager.cpp: In member function ‘void SSLConnectionManager::shuttleConnection(boost::shared_ptr<boost::asio::basic_stream_socketboost::asio::ip::tcp >, boost::asio::ip::tcp::endpoint&)’:
SSLConnectionManager.cpp:79:78: error: ‘boost::asio::ip::tcp::acceptor’ {aka ‘class boost::asio::basic_socket_acceptorboost::asio::ip::tcp’} has no member named ‘io_service’; did you mean ‘get_service’?
Bridge::ptr bridge = RawBridge::create(clientSocket, destination, acceptor.io_service());
^~~~~~~~~~
get_service
SSLConnectionManager.cpp: In member function ‘void SSLConnectionManager::interceptUpdate(boost::shared_ptr<boost::asio::basic_stream_socketboost::asio::ip::tcp >, boost::asio::ip::tcp::endpoint&, bool)’:
SSLConnectionManager.cpp:98:17: error: redeclaration of ‘std::__cxx11::string error’ [-fpermissive]
std::string error = errorStream.str();
^~~~~
SSLConnectionManager.cpp:95:32: note: ‘SSLConnectionError& error’ previously declared here
} catch (SSLConnectionError &error) {
^~~~~
SSLConnectionManager.cpp:103:17: error: redeclaration of ‘std::__cxx11::string error’ [-fpermissive]
std::string error = errorStream.str();
^~~~~
SSLConnectionManager.cpp:100:36: note: ‘FirefoxUpdateException& error’ previously declared here
} catch (FirefoxUpdateException &error) {
^~~~~
SSLConnectionManager.cpp: In member function ‘void SSLConnectionManager::interceptAddon(boost::shared_ptr<boost::asio::basic_stream_socketboost::asio::ip::tcp >, boost::asio::ip::tcp::endpoint&, bool)’:
SSLConnectionManager.cpp:123:17: error: redeclaration of ‘std::__cxx11::string error’ [-fpermissive]
std::string error = errorStream.str();
^~~~~
SSLConnectionManager.cpp:120:32: note: ‘SSLConnectionError& error’ previously declared here
} catch (SSLConnectionError &error) {
^~~~~
SSLConnectionManager.cpp:128:17: error: redeclaration of ‘std::__cxx11::string error’ [-fpermissive]
std::string error = errorStream.str();
^~~~~
SSLConnectionManager.cpp:125:36: note: ‘FirefoxUpdateException& error’ previously declared here
} catch (FirefoxUpdateException &error) {
^~~~~
SSLConnectionManager.cpp: In member function ‘void SSLConnectionManager::interceptSSL(boost::shared_ptr<boost::asio::basic_stream_socketboost::asio::ip::tcp >, boost::asio::ip::tcp::endpoint&, bool)’:
SSLConnectionManager.cpp:137:41: error: ‘boost::asio::ip::tcp::acceptor’ {aka ‘class boost::asio::basic_socket_acceptorboost::asio::ip::tcp’} has no member named ‘io_service’; did you mean ‘get_service’?
ip::tcp::socket serverSocket(acceptor.io_service());
^~~~~~~~~~
get_service
SSLConnectionManager.cpp:154:19: error: redeclaration of ‘std::__cxx11::string error’ [-fpermissive]
std::string error = errorStream.str();
^~~~~
SSLConnectionManager.cpp:151:34: note: ‘SSLConnectionError& error’ previously declared here
} catch (SSLConnectionError &error) {
^~~~~
make: *** [Makefile:294: SSLConnectionManager.o] Error 1
The text was updated successfully, but these errors were encountered: