-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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: retrieve reported libressl version at runtime #2425
Conversation
lib/vtls/openssl.c
Outdated
#ifdef OPENSSL_IS_BORINGSSL | ||
return snprintf(buffer, size, OSSL_PACKAGE); | ||
/* no version extraction method known */ | ||
#elif LIBRESSL_VERSION_NUMBER |
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.
#elif defined(LIBRESSL_VERSION_NUMBER)
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.
Thanks, fixed
667e1f3
to
58bc1f5
Compare
Note that this causes a CI error on the libressl build on macOS |
Rebase and try again? |
Is this something you still intend to work on? |
The work on this has clearly stopped so let's close this for now and we can reopen if the work resumes! |
58bc1f5
to
08b5ab8
Compare
Prior to this change the LibreSSL version was determined at compile-time. Closes curl#2425
08b5ab8
to
4495f69
Compare
Prior to this change the LibreSSL version was determined at compile-time. Ref: https://man.openbsd.org/OPENSSL_VERSION_NUMBER.3 Closes curl#2425
Prior to this change the LibreSSL version was determined at compile-time. Closes curl#2425
0c17eef
to
041e867
Compare
LibreSSL added a OpenSSL_version_num that always returns 0x020000000L.
That conflicted with the workaround function we were using to return the
compile-time LibreSSL actual version. This change removes that
workaround in favor of extracting the actual version at runtime.
Fixes #2319