-
Notifications
You must be signed in to change notification settings - Fork 510
Fix cent7 build #5666
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: CUSTOM-220
Are you sure you want to change the base?
Fix cent7 build #5666
Conversation
remove additional check for centos7
|
|
||
| #ifndef EVP_PKEY_get0_RSA | ||
| extern "C" { | ||
| static inline const RSA *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is hard to verify as implementation is different in various OpenSSL versions but probably a client doesn't use
Enterprise Encryption UDFs for OpenSSL at all so we should be safe.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
extra/opensslpp is Percona's Enterprise Encryption UDFs for OpenSSL
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just tried to adopt it to solve compilation issue with openssl1.0.2k and as this build should be used just for tests I hope it should be fine :)
| #if ZLIB_VERNUM >= 0x1290 | ||
| #define MY_CRC32(crc, buf, len) crc32_z(crc, buf, len) | ||
| #else | ||
| #define MY_CRC32(crc, buf, len) crc32(crc, buf, len) | ||
| #endif |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks fine.
Deal with openssl1.0.2k and old zlib.