diff --git a/sql-common/oci/ssl.cc b/sql-common/oci/ssl.cc index b0e813b58e2c..5a7c666ebfb4 100644 --- a/sql-common/oci/ssl.cc +++ b/sql-common/oci/ssl.cc @@ -51,7 +51,7 @@ std::string base64_encode(const void *binary, size_t length) { BIO_push(b64.get(), sink); BIO_write(b64.get(), binary, static_cast(length)); if (BIO_flush(b64.get()) != 1) return {}; - const char *encoded; + char *encoded; const size_t result_length = BIO_get_mem_data(sink, &encoded); return {encoded, result_length}; }