KSSL: Add names for OpenSSL 3.x libraries to SSL libraries search. #177

Merged
SlavekB merged 1 commits from issue/176/search-for-openssl-3.x into master 2 years ago
Owner

This relates to issue #176.

I do not know whether it makes sense to make an effort to search for various libssl.so.[0-9], because the names do not change too often.

This relates to issue #176. I do not know whether it makes sense to make an effort to search for various `libssl.so.[0-9]`, because the names do not change too often.
MicheleC approved these changes 2 years ago
MicheleC left a comment
Owner

Looks good.

Looks good.
SlavekB force-pushed issue/176/search-for-openssl-3.x from 8f314ced69 to cb87252f7d 2 years ago
Poster
Owner

I examined the problem further and found that the openssl < 3.x defines the SHLIB_VERSION_NUMBER, which is used in the KSSL for the default name in the search for a library. In openssl >= 3.x this constant not exists and there is a new constant OPENSSL_SHLIB_VERSION. Therefore I added the use of this new constant for the default name in search of the library.

I examined the problem further and found that the openssl < 3.x defines the `SHLIB_VERSION_NUMBER`, which is used in the KSSL for the default name in the search for a library. In openssl >= 3.x this constant not exists and there is a new constant `OPENSSL_SHLIB_VERSION`. Therefore I added the use of this new constant for the default name in search of the library.
SlavekB requested review from MicheleC 2 years ago
MicheleC approved these changes 2 years ago
MicheleC left a comment
Owner

This looks even better!

This looks even better!
SlavekB merged commit cb87252f7d into master 2 years ago
SlavekB deleted branch issue/176/search-for-openssl-3.x 2 years ago
SlavekB added this to the R14.0.13 release milestone 2 years ago

Reviewers

MicheleC approved these changes 2 years ago
The pull request has been merged as cb87252f7d.
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: TDE/tdelibs#177
Loading…
There is no content yet.