diff --git a/src/crypto/crypto_cipher.cc b/src/crypto/crypto_cipher.cc index 44b54363dd1ec2..397f248f2ca61a 100644 --- a/src/crypto/crypto_cipher.cc +++ b/src/crypto/crypto_cipher.cc @@ -1063,7 +1063,7 @@ void PublicKeyCipher::Cipher(const FunctionCallbackInfo& args) { ArrayBufferOrViewContents oaep_label( !args[offset + 3]->IsUndefined() ? args[offset + 3] : Local()); if (UNLIKELY(!oaep_label.CheckSizeInt32())) - return THROW_ERR_OUT_OF_RANGE(env, "oaep_label is too big"); + return THROW_ERR_OUT_OF_RANGE(env, "oaepLabel is too big"); std::unique_ptr out; if (!Cipher(