Fix SSL initialization for OpenSSL >= 1.1 #24
已合併
SlavekB
於 5 年之前 將 1 次代碼提交從 feat/openssl-1.1-initialization
合併至 master
Loading…
Reference in new issue
尚未有任何內容
Delete Branch 'feat/openssl-1.1-initialization'
Deleting a branch is permanent. It CANNOT be undone. Continue?
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
.