From 00fd7d28ef3f879690aa04f3802f19fd988fc488 Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Tue, 26 Oct 2021 08:34:39 -0700 Subject: [PATCH] crypto: fix build without scrypt MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * add missing semicolon to fix: In file included from ../src/node_crypto.h:47, from ../src/node.cc:46: ../src/crypto/crypto_scrypt.h:80:2: error: expected ';' after struct definition 80 | } | ^ | ; and fix typo in the comment Signed-off-by: Martin Jansa PR-URL: https://github.com/nodejs/node/pull/40613 Reviewed-By: Tobias Nießen Reviewed-By: Voltrex Reviewed-By: Anna Henningsen --- src/crypto/crypto_scrypt.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/crypto/crypto_scrypt.h b/src/crypto/crypto_scrypt.h index 4ca888e31d4e52..3d185637f44be3 100644 --- a/src/crypto/crypto_scrypt.h +++ b/src/crypto/crypto_scrypt.h @@ -77,8 +77,8 @@ struct ScryptJob { static void Initialize( Environment* env, v8::Local target) {} -} -#endif // !OPENSSL_NO_SCRIPT +}; +#endif // !OPENSSL_NO_SCRYPT } // namespace crypto } // namespace node