KSSL: fixed detection of correct 'SSL_get_peer_certificate' method. This resolves incompatibility with openSSL 3.0. #175
Merged
MicheleC
merged 1 commits from fix/openssl3
into master
2 years ago
Loading…
Reference in new issue
There is no content yet.
Delete Branch 'fix/openssl3'
Deleting a branch is permanent. It CANNOT be undone. Continue?
In openSSL 3.0,
SSL_get_peer_certificate
is an alias toSSL_get1_peer_certificate
and the symbol is not exported in libssl.so.3.This PR will first try to find
SSL_get1_peer_certificate
(available in openSSL 3) and if not found, it will try to find the originalSSL_get_peer_certificate
(available in openSSL 1.1).Konqueror can successfully open https://www.google.com with this PR.
Great, it looks good.
682b8acae4
into master 2 years agoReviewers
682b8acae4
.