mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
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>
This commit is contained in:
1 parent
c0200e20a0
commit
00fd7d28ef
1 file changed
+2
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user