diff --git a/src/crypto/crypto_cipher.cc b/src/crypto/crypto_cipher.cc index de24a6f547fc84..68e088d86a7599 100644 --- a/src/crypto/crypto_cipher.cc +++ b/src/crypto/crypto_cipher.cc @@ -1052,7 +1052,7 @@ void PublicKeyCipher::Cipher(const FunctionCallbackInfo& args) { if (!args[offset + 3]->IsUndefined()) { oaep_label = ArrayBufferOrViewContents(args[offset + 3]); 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;