Fix SSL initialization for OpenSSL >= 1.1 #24

병합
SlavekB feat/openssl-1.1-initialization 에서 master 로 1 commits 를 머지했습니다 5 년 전
SlavekB 코멘트됨, 5 년 전
소유자

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.

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.
SlavekB R14.0.6 release 5 년 전 마일스톤을 추가하였습니다.
MicheleC 검토됨 5 년 전
MicheleC 코멘트됨, 5 년 전
소유자
#if !defined(OPENSSL_INIT_ADD_ALL_CIPHERS)
# define OPENSSL_INIT_ADD_ALL_CIPHERS        0x00000004L
# define OPENSSL_INIT_ADD_ALL_DIGESTS        0x00000008L
# define OPENSSL_INIT_LOAD_CONFIG            0x00000040L
#endif

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

``` #if !defined(OPENSSL_INIT_ADD_ALL_CIPHERS) # define OPENSSL_INIT_ADD_ALL_CIPHERS 0x00000004L # define OPENSSL_INIT_ADD_ALL_DIGESTS 0x00000008L # define OPENSSL_INIT_LOAD_CONFIG 0x00000040L #endif ``` 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
MicheleC 이 변경사항을 승인하였습니다. 5 년 전
MicheleC left a comment
소유자

Looks good now :-)

Looks good now :-)
SlavekB closed this pull request 5 년 전
SlavekB 삭제된 브랜치 feat/openssl-1.1-initialization 5 년 전
The pull request has been merged as 43609c8a21.
로그인하여 이 대화에 참여
No reviewers
마일스톤 없음
담당자 없음
참여자 2명
알림
마감일

마감일이 설정되지 않았습니다.

의존성

No dependencies set.

Reference: TDE/tdelibs#24
불러오는 중...
아직 콘텐츠가 없습니다.