Skip to content
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

Does not build with LibreSSL #699

Closed
AMDmi3 opened this issue Nov 4, 2016 · 2 comments
Closed

Does not build with LibreSSL #699

AMDmi3 opened this issue Nov 4, 2016 · 2 comments

Comments

@AMDmi3
Copy link
Contributor

AMDmi3 commented Nov 4, 2016

i2pd does not build on FreeBSD when LibreSSL is used instead of OpenSSL:

/usr/ports/security/i2pd/work/i2pd-2.10.0/Crypto.cpp:138:3: error: use of undeclared identifier 'DSA_set0_pqg'
                DSA_set0_pqg (dsa, BN_dup (dsap), BN_dup (dsaq), BN_dup (dsag));        
                ^
/usr/ports/security/i2pd/work/i2pd-2.10.0/Crypto.cpp:139:3: error: use of undeclared identifier 'DSA_set0_key'
                DSA_set0_key (dsa, NULL, NULL);
                ^

Related FreeBSD bug: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213819

@orignal
Copy link
Contributor

orignal commented Nov 4, 2016

It's fixed in trunk.
Just change that line
https://github.com/PurpleI2P/i2pd/blob/openssl/Crypto.h#L285
The reason is, openssl 1.1 has changed it's api and we must change it as well

@arabesc
Copy link
Contributor

arabesc commented Nov 4, 2016

It helps, thanks.

@l-n-s l-n-s closed this as completed Nov 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants