diff --git a/cpp/src/parquet/encryption/encryption_internal_nossl.cc b/cpp/src/parquet/encryption/encryption_internal_nossl.cc index 2a8162ed3964b..cc1bef14c9572 100644 --- a/cpp/src/parquet/encryption/encryption_internal_nossl.cc +++ b/cpp/src/parquet/encryption/encryption_internal_nossl.cc @@ -38,8 +38,6 @@ int32_t AesEncryptor::SignedFooterEncrypt(::arrow::util::span foo return -1; } -void AesEncryptor::WipeOut() { ThrowOpenSSLRequiredException(); } - int32_t AesEncryptor::CiphertextLength(int64_t plaintext_len) const { ThrowOpenSSLRequiredException(); return -1; @@ -68,8 +66,6 @@ int32_t AesDecryptor::Decrypt(::arrow::util::span ciphertext, return -1; } -void AesDecryptor::WipeOut() { ThrowOpenSSLRequiredException(); } - AesDecryptor::~AesDecryptor() {} std::unique_ptr AesEncryptor::Make(ParquetCipher::type alg_id,