-
Notifications
You must be signed in to change notification settings - Fork 803
Libressl integration and CI #2495
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
Conversation
0aff883 to
97c380a
Compare
|
Testing this locally works fine ( @Jakuje could you have a look at the logfile? test-suite.log |
The It looks like the libressl commandline api is missing some features @popovec used when writing this test. So we will either have to adjust the test to not use the |
|
I think problem with 97c380a is caused by LibreSSL does not use the lib64 which can then cause problem.97c380a#diff-01777b8211405b5ca734f053a69b200b01d7d3b1fb10fbdb337cff18417438f5R5 openssl/openssl@74b7f33 looks it screwed it up and started using their config version, even when /usr/local/lib64 did not exist. But OpenSSL says to YOU CAN run make with The support for LIBDIR has been around for years but never needed before 3.0:
Running the OpenSSL make and make install: |
| fi | ||
|
|
||
| # install libressl if needed | ||
| if [ "$1" == "libressl" -o "$2" == "libressl" ]; then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We might use the elif here to explicitly signalize that only one of these three options (ossl3, libressl, mingw), can be used at a time.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's better to provoke an error if both libressl and ossl3 were given. otherwise it's possible to pass both options and the script would silently ignore libressl.
|
Thanks for the hits.
|
9deceb8 to
9190bce
Compare
|
the internal tests should be green now. I've removed tests with oseid, because its test suite is not (yet) compatible with libressl (popovec/oseid#1) |
|
I have already fixed OsEID-tool, all OsEID tests with libressl run without problems. https://github.com/popovec/OpenSC/actions/runs/1738417499 |
I think we should not drop LibreSSL integration as it's a low hanging fruit and there actually are some distros which use LibreSSL. Tested with Yubikey.
Checklist