cpp-driver icon indicating copy to clipboard operation
cpp-driver copied to clipboard

OpenSSL 3.0 Changes/Depreciations

Open jtcarnes opened this issue 4 years ago • 0 comments

OpenSSL had some depreciation with it's 3.0 release that cause errors with the current build, specifically:

ssl_openssl_impl.cpp:107:66: error: ‘long unsigned int ERR_get_error_line_data(const char**, int*, const char**, int*)’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]

ssl_openssl_impl.cpp:94:66: error: ‘long unsigned int ERR_get_error_line_data(const char**, int*, const char**, int*)’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 94 | while ((err = ERR_get_error_line_data(NULL, NULL, &data, &flags)) != 0) {

Either we need to compile this without -Werror=deprecated-declarations or we need to migrate to openssl's new syntax

jtcarnes avatar Nov 08 '21 15:11 jtcarnes