diff options
author | Martin Jansa <martin.jansa@lge.com> | 2021-10-26 18:34:39 +0300 |
---|---|---|
committer | Tobias Nießen <tniessen@tnie.de> | 2021-11-11 20:59:12 +0300 |
commit | a9b2d85a480b4ace323f764da868727ced18f623 (patch) | |
tree | f5f163f294552f1b3a5f5930918bd5cc4cc32788 /src/crypto | |
parent | 6e1629786fe16058e0f12bc1613fae7734bff9b0 (diff) |
crypto: fix build without scrypt
* 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 <martin.jansa@lge.com>
PR-URL: https://github.com/nodejs/node/pull/40613
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Voltrex <mohammadkeyvanzade94@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Diffstat (limited to 'src/crypto')
-rw-r--r-- | src/crypto/crypto_scrypt.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/crypto/crypto_scrypt.h b/src/crypto/crypto_scrypt.h index 4ca888e31d4..3d185637f44 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<v8::Object> target) {} -} -#endif // !OPENSSL_NO_SCRIPT +}; +#endif // !OPENSSL_NO_SCRYPT } // namespace crypto } // namespace node |