From 79d2536493929bd2b8924a1f7c57323b0544c465 Mon Sep 17 00:00:00 2001 From: Tobias Nießen Date: Wed, 5 Sep 2018 13:53:51 +0200 Subject: crypto: rename symbols to match guidelines MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/22770 Refs: https://github.com/nodejs/node/pull/22684 Reviewed-By: Anna Henningsen Reviewed-By: Michaël Zasso Reviewed-By: Luigi Pinca Reviewed-By: Ruben Bridgewater Reviewed-By: Colin Ihrig Reviewed-By: James M Snell --- lib/internal/crypto/hash.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/internal/crypto/hash.js') diff --git a/lib/internal/crypto/hash.js b/lib/internal/crypto/hash.js index 6522a19509..308c16f9a8 100644 --- a/lib/internal/crypto/hash.js +++ b/lib/internal/crypto/hash.js @@ -25,8 +25,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)) -- cgit v1.2.3