From 251696e253876c2fc9637ed0515d10554aaada21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20Nie=C3=9Fen?= Date: Wed, 5 Sep 2018 13:53:51 +0200 Subject: [PATCH] crypto: rename symbols to match guidelines Refs: https://github.com/nodejs/node/pull/22684 --- lib/internal/crypto/hash.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/internal/crypto/hash.js b/lib/internal/crypto/hash.js index 7127d4d7efb17a..9462c3048e8fdc 100644 --- a/lib/internal/crypto/hash.js +++ b/lib/internal/crypto/hash.js @@ -23,8 +23,8 @@ const { inherits } = require('util'); const { normalizeEncoding } = require('internal/util'); const { isArrayBufferView } = require('internal/util/types'); const LazyTransform = require('internal/streams/lazy_transform'); -const kState = Symbol('state'); -const kFinalized = Symbol('finalized'); +const kState = Symbol('kState'); +const kFinalized = Symbol('kFinalized'); function Hash(algorithm, options) { if (!(this instanceof Hash))