-
Notifications
You must be signed in to change notification settings - Fork 87
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
OpenSSL 1.1.x compatibility #86
Conversation
I think the way of the following URL is no problem. #if OPENSSL_VERSION_NUMBER < 0x10100000L |
I tested your patch on Fedora rawhide (OpenSSL 1.1.0d). By the way, I think "#if OPENSSL_VERSION_NUMBER" is better than m4, Can you write new patch? |
discussing on netatalk-devel ML. |
@hat001 Thanks for your review, Actually, my first though was to ifdef based on OpenSSL version |
@hat001 It builds on OpenSSL 1.0.2 now, please review |
git comment:
quote sign is not ASCII. |
On Fedora 25 (1.0.2k):
|
On Fedora 25 (1.0.2k):
|
I'll fix it, np. |
your patch file:
|
See |
ok, got it |
@hat001 Fixed and, hopefully, thoroughly tested this time. Built against 1.0.2k and 1.1.0e OpenSSL versions. |
@manover |
52bf859
to
5720953
Compare
@hat001 rebased & squashed, ready to merge |
@manover |
a half a dozen error messages like this: error: dereferencing pointer to incomplete type 'DH {aka struct dh_st}' This is caused by OpenSSL having made certain structs opaque, which forces the library users to employ special getters and setters when accessing these structs. This PR makes Netatalk support the newest OpenSSL.
5720953
to
b5cbc4b
Compare
@hat001 done |
Code look good. Thanks for contributing! Can you please adjust the commit message as described here: Ie, the commit message subject should be a short one line summary and at the end of the commit message please add your signed-off. |
@slowfranklin sorry, @hat001 had to do it for me, should have read the document before creating the PR. What now, should I close the github pull request, since, it's technically merged? |
On Tue, Mar 14, 2017 at 07:39:36PM -0700, Denis Bychkov wrote:
@slowfranklin sorry, @hat001 had to do it for me, should have read the
document before creating the PR.
no problem at all. You probably didn't know it existed in the first place. :)
What now, should I close the github pull request, since, it's technically
merged?
yep, thanks!
Cheerio!
-slow
|
Yey! Merged! (by a way of cherry-picking). |
Netatalk currently does not build against OpenSSL 1.1.0+, producing
a half a dozen error messages like this:
This is caused by OpenSSL making certain structs opaque, which forces the library users to employ special getters and setters when accessing these structs.
This PR makes Netatalk build against the new version of OpenSSL, but it cannot be merged as-is because it breaks compatibility with the older versions. It could be easily fixed with a couple of
ifdef
-s,however I am not certain this project wants to hardcode external dependencies versions in the core code, so maybe there is a better way through m4 configure scripts, for example.
Please review.