cpp-driver
cpp-driver copied to clipboard
OpenSSL 3.0 Changes/Depreciations
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