From 79d2536493929bd2b8924a1f7c57323b0544c465 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 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(-) diff --git a/lib/internal/crypto/hash.js b/lib/internal/crypto/hash.js index 6522a19509f353..308c16f9a88b93 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))