Fix SSL initialization for OpenSSL >= 1.1 #24
Fusionnée
SlavekB
a fusionné 1 révision(s) à partir de feat/openssl-1.1-initialization
vers master
il y a 5 ans
Chargement…
Référencer dans un nouveau ticket
Il n'existe pas encore de contenu.
Supprimer la branche 'feat/openssl-1.1-initialization'
Supprimer une branche est permanent. Cela NE PEUVENT être annulées. Continuer ?
The SSL library is not linked but is dynamically loaded. Older SSL library initialization functions are for OpenSSL >= 1.1 only as macros in headers – to ensure compatibility at source code level. Therefore, searching for symbols for older functions can not be successful.
The proposed patch adds detection for initialization functions for OpenSSL >= 1.1.
I think code would be more readable if these lines are moved before the function call or at the beginning of the files. They don't follow the if() block logic and in this place look a bit awkward, IMO
Looks good now :-)
43609c8a21
.