New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to build with OpenSSL 1.1 #27

Open
rhertzog opened this Issue Nov 22, 2016 · 0 comments

Comments

Projects
None yet
1 participant
@rhertzog
Copy link

rhertzog commented Nov 22, 2016

Hello,

if you try to build sslsniff with OpenSSL 1.1 it will fail:

In file included from SSLBridge.hpp:41:0,
                 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);
                                       ^~

Basically OpenSSL made many structures opaque and you have to use various API calls to access the underlying data.

On https://wiki.openssl.org/index.php/1.1_API_Changes you can see some of the changes. There are also updated man pages at https://www.openssl.org/docs/manmaster/ that should contain useful information.

This was initially filed in Debian here: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=828557

hillu added a commit to hillu/sslsniff that referenced this issue Dec 17, 2017

@hillu hillu referenced a pull request that will close this issue Dec 17, 2017

Open

Fix build with OpenSSL 1.1 #28

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment